qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] clean up cpu_dump_state flags
@ 2012-09-06 10:41 Peter Maydell
  2012-09-06 10:41 ` [Qemu-devel] [PATCH v2 1/2] cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to generic Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Maydell @ 2012-09-06 10:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: patches

This is a small cleanup patchset which moves some cpu_dump_state
flags from being x86 only to being generic, since the extra info
they ask for is not particularly x86 specific (many of our
target architectures have an fpu, and similarly several implement
the TCG condition-code optimisation). This allows us to remove
some ugly TARGET_I386 ifdefs from target-independent code.

I've also implemented the DUMP_FPU flag for ARM, by reinstating
(somewhat modified) some code which had been #if'd out for years.
There should be no behaviour change for other architectures.

Changes v1->v2: none, just rebased on master
(since the v1 patch only applied with fuzzing)

Peter Maydell (2):
  cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to
    generic
  target-arm: Reinstate display of VFP registers in cpu_dump_state

 cpu-all.h                |    3 +++
 cpu-exec.c               |    2 +-
 cpus.c                   |    6 +-----
 exec.c                   |   12 ++----------
 monitor.c                |    8 +-------
 target-arm/translate.c   |   42 ++++++++++++++++--------------------------
 target-i386/cpu.c        |    2 +-
 target-i386/cpu.h        |    4 ----
 target-i386/helper.c     |    4 ++--
 target-i386/seg_helper.c |    4 ++--
 target-i386/smm_helper.c |    4 ++--
 11 files changed, 31 insertions(+), 60 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-25 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 10:41 [Qemu-devel] [PATCH v2 0/2] clean up cpu_dump_state flags Peter Maydell
2012-09-06 10:41 ` [Qemu-devel] [PATCH v2 1/2] cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to generic Peter Maydell
2012-09-06 10:41 ` [Qemu-devel] [PATCH v2 2/2] target-arm: Reinstate display of VFP registers in cpu_dump_state Peter Maydell
2012-09-25 13:08 ` [Qemu-devel] [PATCH v2 0/2] clean up cpu_dump_state flags Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).