All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [RCF PATCH 0/2] Improving TCG debug output
@ 2014-03-12 14:12 alex.bennee
  2014-03-12 14:12 ` [Qemu-devel] [RCF PATCH 1/2] tcg: add tcg_abort_dbg() for additional debug info alex.bennee
  2014-03-12 14:12 ` [Qemu-devel] [RCF PATCH 2/2] tcg: add debug helpers tcg_debug_dump_i(32|64) alex.bennee
  0 siblings, 2 replies; 6+ messages in thread
From: alex.bennee @ 2014-03-12 14:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

From: Alex Bennée <alex.bennee@linaro.org>

Hi,

These two patches have been sitting in my personal tree for a while
and I thought it was worth soliciting feedback as to their wider usefulness.

The first is simply an attempt to make tcg abort failures a little
less terse.

The second I found useful when I was debugging a complex set of TCG
ops for a round, shift and narrow implementation. The alternative was
to set up GDB and step through the generated target code (or just
infer from the copious dumps). The macro magic might be a bit much though.

Alex Bennée (2):
  tcg: add tcg_abort_dbg() for additional debug info
  tcg: add debug helpers tcg_debug_dump_i(32|64)

 Makefile.target       |  2 +-
 target-arm/helper.h   |  2 ++
 tcg/i386/tcg-target.c |  4 ++--
 tcg/optimize.c        |  2 +-
 tcg/tcg-helpers.c     | 32 +++++++++++++++++++++++++++++
 tcg/tcg-helpers.h     | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tcg/tcg.h             |  7 +++++--
 7 files changed, 100 insertions(+), 6 deletions(-)
 create mode 100644 tcg/tcg-helpers.c
 create mode 100644 tcg/tcg-helpers.h

-- 
1.9.0

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Qemu-devel] [RCF PATCH 0/2] Improving TCG debug output
@ 2014-03-12 13:49 alex.bennee
  2014-03-12 13:49 ` [Qemu-devel] [RCF PATCH 1/2] tcg: add tcg_abort_dbg() for additional debug info alex.bennee
  0 siblings, 1 reply; 6+ messages in thread
From: alex.bennee @ 2014-03-12 13:49 UTC (permalink / raw)
  To: qemu-devel

From: Alex Bennée <alex.bennee@linaro.org>

Hi,

These two patches have been sitting in my personal tree for a while
and I thought it was worth soliciting feedback as to their wider usefulness.

The first is simply an attempt to make tcg abort failures a little
less terse.

The second I found useful when I was debugging a complex set of TCG
ops for a round, shift and narrow implementation. The alternative was
to set up GDB and step through the generated target code (or just
infer from the copious dumps). The macro magic might be a bit much though.

Alex Bennée (2):
  tcg: add tcg_abort_dbg() for additional debug info
  tcg: add debug helpers tcg_debug_dump_i(32|64)

 Makefile.target       |  2 +-
 target-arm/helper.h   |  2 ++
 tcg/i386/tcg-target.c |  4 ++--
 tcg/optimize.c        |  2 +-
 tcg/tcg-helpers.c     | 32 +++++++++++++++++++++++++++++
 tcg/tcg-helpers.h     | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tcg/tcg.h             |  7 +++++--
 7 files changed, 100 insertions(+), 6 deletions(-)
 create mode 100644 tcg/tcg-helpers.c
 create mode 100644 tcg/tcg-helpers.h

-- 
1.9.0

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

end of thread, other threads:[~2014-03-12 15:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 14:12 [Qemu-devel] [RCF PATCH 0/2] Improving TCG debug output alex.bennee
2014-03-12 14:12 ` [Qemu-devel] [RCF PATCH 1/2] tcg: add tcg_abort_dbg() for additional debug info alex.bennee
2014-03-12 15:02   ` Peter Maydell
2014-03-12 15:05     ` Richard Henderson
2014-03-12 14:12 ` [Qemu-devel] [RCF PATCH 2/2] tcg: add debug helpers tcg_debug_dump_i(32|64) alex.bennee
  -- strict thread matches above, loose matches on Subject: below --
2014-03-12 13:49 [Qemu-devel] [RCF PATCH 0/2] Improving TCG debug output alex.bennee
2014-03-12 13:49 ` [Qemu-devel] [RCF PATCH 1/2] tcg: add tcg_abort_dbg() for additional debug info alex.bennee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.