From: Alex Bennée <alex.ben...@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