mbox

[PULL,v2,00/18] tcg patch queue

Message ID 1401223884-30702-1-git-send-email-rth@twiddle.net
State New
Headers show

Pull-request

git://github.com/rth7680/qemu.git tcg-next

Message

Richard Henderson May 27, 2014, 8:51 p.m. UTC
A collection of 4 patch sets accumulated over the last three weeks.
The final one fixes bugs visible in the s390 port, and (shortly) in
the ppc64 port.

This time with Paolo's and Alex's Reviewed-by tags.

Please pull.


r~


Richard Henderson (18):
  tcg: Optimize brcond2 and setcond2 ne/eq
  tcg: Invert the inclusion of helper.h
  tcg: Push tcg-runtime routines into exec/helper-*
  tcg: Use helper-gen.h in tcg-op.h
  tcg: Inline tcg_gen_helperN
  tcg: Move side effects out of dh_sizemask
  tcg: Register the helper info struct rather than the name
  tcg: Save flags and computed sizemask in TCGHelperInfo
  tcg: Remove sizemask and flags arguments to tcg_gen_callN
  tcg: Move size effects out of dh_arg
  tcg: Allow the debug_frame data structure to be constant
  tcg-i386: Make debug_frame const
  tcg-aarch64: Make debug_frame const
  tcg-arm: Make debug_frame const
  tcg-s390: Make debug_frame const
  tcg-sparc: Make debug_frame const
  tcg/optimize: Move updating of gen_opc_buf into tcg_opt_gen_mov*
  tcg/optimize: Remember garbage high bits for 32-bit ops

 include/exec/def-helper.h          | 274 -------------------------------------
 include/exec/helper-gen.h          |  70 ++++++++++
 include/exec/helper-head.h         | 134 ++++++++++++++++++
 include/exec/helper-proto.h        |  39 ++++++
 include/exec/helper-tcg.h          |  48 +++++++
 target-alpha/fpu_helper.c          |   2 +-
 target-alpha/helper.c              |   2 +-
 target-alpha/helper.h              |   4 -
 target-alpha/int_helper.c          |   2 +-
 target-alpha/mem_helper.c          |   2 +-
 target-alpha/sys_helper.c          |   2 +-
 target-alpha/translate.c           |   5 +-
 target-arm/crypto_helper.c         |   2 +-
 target-arm/helper-a64.c            |   2 +-
 target-arm/helper.c                |   2 +-
 target-arm/helper.h                |   4 -
 target-arm/iwmmxt_helper.c         |   2 +-
 target-arm/neon_helper.c           |   2 +-
 target-arm/op_helper.c             |   2 +-
 target-arm/translate-a64.c         |   5 +-
 target-arm/translate.c             |   5 +-
 target-cris/helper.h               |   4 -
 target-cris/op_helper.c            |   2 +-
 target-cris/translate.c            |   5 +-
 target-i386/cc_helper.c            |   2 +-
 target-i386/excp_helper.c          |   2 +-
 target-i386/fpu_helper.c           |   2 +-
 target-i386/helper.h               |   4 -
 target-i386/int_helper.c           |   2 +-
 target-i386/mem_helper.c           |   2 +-
 target-i386/misc_helper.c          |   2 +-
 target-i386/seg_helper.c           |   2 +-
 target-i386/smm_helper.c           |   2 +-
 target-i386/svm_helper.c           |   2 +-
 target-i386/translate.c            |   5 +-
 target-lm32/helper.h               |   4 -
 target-lm32/op_helper.c            |   2 +-
 target-lm32/translate.c            |   5 +-
 target-m68k/helper.c               |   2 +-
 target-m68k/helper.h               |   4 -
 target-m68k/op_helper.c            |   2 +-
 target-m68k/translate.c            |   5 +-
 target-microblaze/helper.h         |   4 -
 target-microblaze/op_helper.c      |   2 +-
 target-microblaze/translate.c      |   6 +-
 target-mips/dsp_helper.c           |   2 +-
 target-mips/helper.h               |   6 -
 target-mips/lmi_helper.c           |   2 +-
 target-mips/op_helper.c            |   2 +-
 target-mips/translate.c            |   5 +-
 target-moxie/helper.c              |   2 +-
 target-moxie/helper.h              |   4 -
 target-moxie/translate.c           |   5 +-
 target-openrisc/exception_helper.c |   2 +-
 target-openrisc/fpu_helper.c       |   2 +-
 target-openrisc/helper.h           |   4 -
 target-openrisc/int_helper.c       |   2 +-
 target-openrisc/interrupt_helper.c |   2 +-
 target-openrisc/sys_helper.c       |   2 +-
 target-openrisc/translate.c        |   5 +-
 target-ppc/excp_helper.c           |   2 +-
 target-ppc/fpu_helper.c            |   2 +-
 target-ppc/helper.h                |   4 -
 target-ppc/int_helper.c            |   2 +-
 target-ppc/mem_helper.c            |   2 +-
 target-ppc/misc_helper.c           |   2 +-
 target-ppc/mmu-hash32.c            |   2 +-
 target-ppc/mmu-hash64.c            |   2 +-
 target-ppc/mmu_helper.c            |   2 +-
 target-ppc/timebase_helper.c       |   2 +-
 target-ppc/translate.c             |   5 +-
 target-s390x/cc_helper.c           |   2 +-
 target-s390x/fpu_helper.c          |   2 +-
 target-s390x/helper.h              |   4 -
 target-s390x/int_helper.c          |   2 +-
 target-s390x/mem_helper.c          |   2 +-
 target-s390x/misc_helper.c         |   2 +-
 target-s390x/translate.c           |   5 +-
 target-sh4/helper.h                |   4 -
 target-sh4/op_helper.c             |   2 +-
 target-sh4/translate.c             |   5 +-
 target-sparc/cc_helper.c           |   2 +-
 target-sparc/fop_helper.c          |   2 +-
 target-sparc/helper.c              |   2 +-
 target-sparc/helper.h              |   4 -
 target-sparc/int64_helper.c        |   2 +-
 target-sparc/ldst_helper.c         |   2 +-
 target-sparc/translate.c           |   5 +-
 target-sparc/vis_helper.c          |   2 +-
 target-sparc/win_helper.c          |   2 +-
 target-unicore32/helper.c          |   2 +-
 target-unicore32/helper.h          |   3 -
 target-unicore32/op_helper.c       |   2 +-
 target-unicore32/translate.c       |   5 +-
 target-unicore32/ucf64_helper.c    |   2 +-
 target-xtensa/helper.h             |   4 -
 target-xtensa/op_helper.c          |   2 +-
 target-xtensa/translate.c          |   5 +-
 target-xtensa/xtensa-semi.c        |   2 +-
 tcg-runtime.c                      |  40 ++++--
 tcg/aarch64/tcg-target.c           |  22 ++-
 tcg/arm/tcg-target.c               |  22 ++-
 tcg/i386/tcg-target.c              |  38 +++--
 tcg/optimize.c                     | 244 ++++++++++++++++++++++++---------
 tcg/s390/tcg-target.c              |  22 ++-
 tcg/sparc/tcg-target.c             |  22 ++-
 tcg/tcg-op.h                       | 169 +++--------------------
 tcg/tcg-runtime.h                  |  30 ++--
 tcg/tcg.c                          |  68 ++++-----
 tcg/tcg.h                          |   6 +-
 110 files changed, 709 insertions(+), 812 deletions(-)
 delete mode 100644 include/exec/def-helper.h
 create mode 100644 include/exec/helper-gen.h
 create mode 100644 include/exec/helper-head.h
 create mode 100644 include/exec/helper-proto.h
 create mode 100644 include/exec/helper-tcg.h

Comments

Peter Maydell May 28, 2014, 2:22 p.m. UTC | #1
On 27 May 2014 21:51, Richard Henderson <rth@twiddle.net> wrote:
> A collection of 4 patch sets accumulated over the last three weeks.
> The final one fixes bugs visible in the s390 port, and (shortly) in
> the ppc64 port.
>
> This time with Paolo's and Alex's Reviewed-by tags.
>
> Please pull.

The merge of this fails to build for me (32 bit ARM host):
  CC    lm32-softmmu/target-lm32/lm32-semi.o
In file included from /root/qemu/target-lm32/lm32-semi.c:18:0:
/root/qemu/target-lm32/helper.h:1:31: error: expected ‘)’ before ‘void’
make[1]: *** [target-lm32/lm32-semi.o] Error 1

(conflict with the lm32-semihosting branch which got applied first?)

thanks
-- PMM
Richard Henderson May 28, 2014, 2:48 p.m. UTC | #2
On 05/28/2014 07:22 AM, Peter Maydell wrote:
> The merge of this fails to build for me (32 bit ARM host):
>   CC    lm32-softmmu/target-lm32/lm32-semi.o
> In file included from /root/qemu/target-lm32/lm32-semi.c:18:0:
> /root/qemu/target-lm32/helper.h:1:31: error: expected ‘)’ before ‘void’
> make[1]: *** [target-lm32/lm32-semi.o] Error 1
> 
> (conflict with the lm32-semihosting branch which got applied first?)

Yep.  It's a one-line fix.


r~