Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: qom-cpu-vmstat…
Commits on Feb 25, 2013
  1. target-lm32: Update VMStateDescription to LM32CPU

    authored
    Add a vmstate_lm32_cpu referencing the previous VMStateDescription as a
    sub-struct and hook it up to CPUClass::vmsd. Drop cpu_{save,load}().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. target-i386: Update VMStateDescription to X86CPU

    authored
    Expose vmstate_cpu as vmstate_x86_cpu and hook it up to CPUClass::vmsd.
    Adapt opaques and VMState fields to X86CPU. Drop cpu_{save,load}().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. cpu: Introduce cpu_class_set_vmsd()

    authored
    This setter avoids redefining each VMStateDescription value to
    vmstate_dummy by not referencing the value for CONFIG_USER_ONLY.
    
    Suggested-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. cpu: Register VMStateDescription through CPUState

    authored
    In comparison to DeviceClass::vmsd, CPU VMState is split in two,
    "cpu_common" and "cpu", and uses cpu_index as instance_id instead of -1.
    Therefore add a CPU-specific CPUClass::vmsd field.
    
    Unlike the legacy CPUArchState registration, rather register CPUState.
    
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. stubs: Add a vmstate_dummy struct for CONFIG_USER_ONLY

    authored
    Reviewed-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. vmstate: Make vmstate_register() static inline

    authored
    This avoids adding a duplicate stub for CONFIG_USER_ONLY.
    
    Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. target-sh4: Move PVR/PRR/CVR into SuperHCPUClass

    authored
    They are never changed once initialized, and moving them to the class
    will allow to inspect them before instantiating.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. target-sh4: Introduce SuperHCPU subclasses

    authored
    Store legacy name in SuperHCPUClass for -cpu ? and for case-insensitive
    class lookup.
    
    List CPUs by iterating over TYPE_SUPERH_CPU subclasses.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. cpu: Introduce ENV_OFFSET macros

    authored
    Introduce ENV_OFFSET macros which can be used in non-target-specific
    code that needs to generate TCG instructions which reference CPUState
    fields given the cpu_env register that TCG targets set up with a
    pointer to the CPUArchState struct.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  10. cpus: Replace open-coded CPU loop in qmp_memsave() with qemu_get_cpu()

    authored
    No functional change, just less usages of first_cpu and next_cpu fields.
    
    env is passed to cpu_memory_rw_debug(), which in turn passes it to
    target-specific cpu_get_phys_page_debug(). Changing both would be a
    larger refactoring, so defer that by using env_ptr for now.
    
    Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  11. monitor: Use qemu_get_cpu() in monitor_set_cpu()

    authored
    No functional change, just a reduction of CPU loops.
    
    The mon_cpu field is left untouched for now since changing that requires
    a number of larger prerequisites, including cpu_synchronize_state() and
    mon_get_cpu().
    
    Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
Commits on Feb 23, 2013
  1. @petar-jovanovic @aurel32

    target-mips: fix for sign-issue in MULQ_W helper

    petar-jovanovic authored aurel32 committed
    Correct sign-propagation before multiplication in MULQ_W helper.
    The change also fixes previously incorrect expected values in the
    tests for MULQ_RS.W and MULQ_S.W.
    
    Signed-off-by: Petar Jovanovic <petarj@mips.com>
    Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  2. @petar-jovanovic @aurel32

    target-mips: fix for incorrect multiplication with MULQ_S.PH

    petar-jovanovic authored aurel32 committed
    The change corrects sign-related issue with MULQ_S.PH. It also includes
    extension to the already existing test which will trigger the issue.
    
    Signed-off-by: Petar Jovanovic <petarj@mips.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  3. @rth7680 @blueswirl

    target-xtensa: Use add2/sub2 for mac

    rth7680 authored blueswirl committed
    Cc: Max Filippov <jcmvbkbc@gmail.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  4. @rth7680 @blueswirl

    target-xtensa: Use mul*2 for mul*hi

    rth7680 authored blueswirl committed
    Cc: Max Filippov <jcmvbkbc@gmail.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  5. @rth7680 @blueswirl

    target-unicore32: Use mul*2 for do_mult

    rth7680 authored blueswirl committed
    Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  6. @rth7680 @blueswirl

    target-sh4: Use mul*2 for dmul*

    rth7680 authored blueswirl committed
    Cc: Aurelien Jarno <aurelien@aurel32.net>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  7. @rth7680 @blueswirl

    target-sparc: Use mul*2 for multiply

    rth7680 authored blueswirl committed
    Cc: Blue Swirl <blauwirbel@gmail.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  8. @rth7680 @blueswirl

    target-sparc: Use official add2/sub2 interfaces for addx/subx

    rth7680 authored blueswirl committed
    Cc: Blue Swirl <blauwirbel@gmail.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  9. @rth7680 @blueswirl

    target-ppc: Compute mullwo without branches

    rth7680 authored blueswirl committed
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  10. @rth7680 @blueswirl

    target-ppc: Compute arithmetic shift carry without branches

    rth7680 authored blueswirl committed
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  11. @rth7680 @blueswirl

    target-ppc: Implement neg in terms of subf

    rth7680 authored blueswirl committed
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  12. @rth7680 @blueswirl

    target-ppc: Use add2 for carry generation

    rth7680 authored blueswirl committed
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  13. @rth7680 @blueswirl

    target-ppc: Compute addition carry with setcond

    rth7680 authored blueswirl committed
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  14. @rth7680 @blueswirl

    target-ppc: Compute addition overflow without branches

    rth7680 authored blueswirl committed
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  15. @rth7680 @blueswirl

    target-ppc: Use setcond in gen_op_cmp

    rth7680 authored blueswirl committed
    Which means that callers need not copy data into local tmps.
    
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  16. @rth7680 @blueswirl

    target-ppc: Split out SO, OV, CA fields from XER

    rth7680 authored blueswirl committed
    In preparation for more efficient setting of these fields.
    
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  17. @rth7680 @blueswirl

    target-ppc: Use mul*2 in mulh* insns

    rth7680 authored blueswirl committed
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  18. @rth7680 @blueswirl

    target-cris: Use mul*2 in mul* insns

    rth7680 authored blueswirl committed
    Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  19. @rth7680 @blueswirl

    target-mips: Use mul[us]2 in [D]MULT[U] insns

    rth7680 authored blueswirl committed
    Cc: Aurelien Jarno <aurelien@aurel32.net>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  20. @rth7680 @blueswirl

    target-arm: Implement sbc_cc inline

    rth7680 authored blueswirl committed
    Use sub2 if available, otherwise use 64-bit arithmetic.
    
    Cc: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  21. @rth7680 @blueswirl

    target-arm: Implement adc_cc inline

    rth7680 authored blueswirl committed
    Use add2 if available, otherwise use 64-bit arithmetic.
    
    Cc: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  22. @rth7680 @blueswirl

    target-arm: Use add2 in gen_add_CC

    rth7680 authored blueswirl committed
    Cc: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  23. @rth7680 @blueswirl

    target-arm: Use mul[us]2 and add2 in umlal et al

    rth7680 authored blueswirl committed
    Cc: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  24. @rth7680 @blueswirl

    target-arm: Use mul[us]2 in gen_mul[us]_i64_i32

    rth7680 authored blueswirl committed
    Cc: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Something went wrong with that request. Please try again.