From: alex.bennee@linaro.org
To: qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Subject: [Qemu-devel] [RCF PATCH 0/2] Improving TCG debug output
Date: Wed, 12 Mar 2014 14:12:55 +0000 [thread overview]
Message-ID: <1394633577-18053-1-git-send-email-alex.bennee@linaro.org> (raw)
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
next reply other threads:[~2014-03-12 14:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 14:12 alex.bennee [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1394633577-18053-1-git-send-email-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).