Finally revisiting these since early November. Thanks to Bastian Koppelmann for reviewing most of these.
r~ The following changes since commit ab0302ee764fd702465aef6d88612cdff4302809: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20141223' into staging (2014-12-23 15:05:22 +0000) are available in the git repository at: git://github.com/rth7680/qemu.git tags/tcg-pull-20150109 for you to fetch changes up to 62c2b6e35e872c87a111856a2798c21c458a68ab: tcg: Further optimizations for add2 and sub2_i32 (2015-01-05 12:22:45 -0800) ---------------------------------------------------------------- Convert to linked list patch set. ---------------------------------------------------------------- Richard Henderson (10): tcg: Move some opcode generation functions out of line tcg: Reduce ifdefs in tcg-op.c tcg: Move emit of INDEX_op_end into gen_tb_end tcg: Introduce tcg_op_buf_count and tcg_op_buf_full tcg: Put opcodes in a linked list tcg: Remove opcodes instead of noping them out tcg: Implement insert_op_before tcg: Remove unused opcodes tcg: Optimize muls2_i32 tcg: Further optimizations for add2 and sub2_i32 Makefile.target | 2 +- include/exec/gen-icount.h | 22 +- target-alpha/translate.c | 16 +- target-arm/translate-a64.c | 10 +- target-arm/translate.c | 10 +- target-cris/translate.c | 15 +- target-i386/translate.c | 11 +- target-lm32/translate.c | 16 +- target-m68k/translate.c | 10 +- target-microblaze/translate.c | 22 +- target-mips/translate.c | 10 +- target-moxie/translate.c | 10 +- target-openrisc/translate.c | 15 +- target-ppc/translate.c | 11 +- target-s390x/translate.c | 11 +- target-sh4/translate.c | 10 +- target-sparc/translate.c | 10 +- target-tricore/translate.c | 5 +- target-unicore32/translate.c | 10 +- target-xtensa/translate.c | 8 +- tcg/optimize.c | 381 +++---- tcg/tcg-op.c | 1936 ++++++++++++++++++++++++++++++++ tcg/tcg-op.h | 2487 ++++++----------------------------------- tcg/tcg-opc.h | 9 - tcg/tcg.c | 532 +++------ tcg/tcg.h | 72 +- tci.c | 13 - 27 files changed, 2814 insertions(+), 2850 deletions(-) create mode 100644 tcg/tcg-op.c