Convert remaining targets to AREG0 free mode.

I decided after s390x to not split the remaining op_helper.c
files to for example fpu_helper.c, int_helper.c etc. It may
still make sense especially for MIPS with 3442 lines in
op_helper.c. This can be done later.

After this series, whole of QEMU can be compiled with Clang.

If there are no problems, this should be applied pretty early
in 1.3 cycle.

Blue Swirl (21):
  target-s390x: fix style
  target-s390x: split FPU ops
  target-s390x: split condition code helpers
  target-s390x: split integer helpers
  target-s390x: split memory access helpers
  target-s390x: rename op_helper.c to misc_helper.c
  target-s390x: avoid AREG0 for FPU helpers
  target-s390x: avoid AREG0 for integer helpers
  target-s390x: avoid AREG0 for condition code helpers
  target-s390x: avoid AREG0 for misc helpers
  target-s390x: switch to AREG0 free mode
  target-s390x: split helper.c
  target-lm32: switch to AREG0 free mode
  target-m68k: switch to AREG0 free mode
  target-unicore32: switch to AREG0 free mode
  target-arm: switch to AREG0 free mode
  target-microblaze: switch to AREG0 free mode
  target-cris: switch to AREG0 free mode
  target-sh4: switch to AREG0 free mode
  target-mips: switch to AREG0 free mode
  Remove unused CONFIG_TCG_PASS_AREG0 and dead code

 Makefile.target                 |    8 -
 configure                       |   11 -
 cpu-all.h                       |   11 -
 cputlb.c                        |    4 -
 dyngen-exec.h                   |   70 -
 exec-all.h                      |    4 -
 hw/spapr_hcall.c                |    1 -
 softmmu_defs.h                  |   21 -
 softmmu_header.h                |   63 +-
 softmmu_template.h              |   72 +-
 target-arm/Makefile.objs        |    2 -
 target-arm/cpu.h                |   10 +-
 target-arm/helper.c             |    8 +-
 target-arm/helper.h             |   60 +-
 target-arm/op_helper.c          |   92 +-
 target-arm/translate.c          |  148 +-
 target-cris/Makefile.objs       |    2 -
 target-cris/helper.c            |    4 +-
 target-cris/helper.h            |   34 +-
 target-cris/op_helper.c         |   89 +-
 target-cris/translate.c         |   50 +-
 target-cris/translate_v10.c     |   22 +-
 target-lm32/Makefile.objs       |    2 -
 target-lm32/helper.h            |   20 +-
 target-lm32/op_helper.c         |   29 +-
 target-lm32/translate.c         |   22 +-
 target-m68k/Makefile.objs       |    2 -
 target-m68k/helpers.h           |    2 +-
 target-m68k/op_helper.c         |   71 +-
 target-m68k/translate.c         |   76 +-
 target-microblaze/Makefile.objs |    2 -
 target-microblaze/helper.h      |   48 +-
 target-microblaze/op_helper.c   |  115 +-
 target-microblaze/translate.c   |   56 +-
 target-mips/Makefile.objs       |    2 -
 target-mips/cpu.h               |   16 +-
 target-mips/helper.h            |  410 +++---
 target-mips/op_helper.c         | 1065 ++++++++-------
 target-mips/translate.c         |  754 +++++-----
 target-s390x/Makefile.objs      |    5 +-
 target-s390x/cc_helper.c        |  550 +++++++
 target-s390x/cpu.c              |   18 +
 target-s390x/cpu.h              |    9 +
 target-s390x/fpu_helper.c       |  843 +++++++++++
 target-s390x/helper.c           |  617 --------
 target-s390x/helper.h           |  250 ++--
 target-s390x/int_helper.c       |  201 +++
 target-s390x/mem_helper.c       | 1203 ++++++++++++++++
 target-s390x/misc_helper.c      | 1000 +++++++++++++
 target-s390x/op_helper.c        | 3019 ---------------------------------------
 target-s390x/translate.c        |  233 ++--
 target-sh4/Makefile.objs        |    2 -
 target-sh4/helper.h             |   84 +-
 target-sh4/op_helper.c          |  182 ++--
 target-sh4/translate.c          |  114 +-
 target-sparc/Makefile.objs      |    2 -
 target-unicore32/Makefile.objs  |    2 -
 target-unicore32/helper.h       |   26 +-
 target-unicore32/op_helper.c    |   65 +-
 target-unicore32/translate.c    |   38 +-
 tcg/arm/tcg-target.c            |   31 +-
 tcg/arm/tcg-target.h            |    1 -
 tcg/hppa/tcg-target.c           |   24 -
 tcg/hppa/tcg-target.h           |    1 -
 tcg/i386/tcg-target.c           |   30 -
 tcg/i386/tcg-target.h           |    1 -
 tcg/ia64/tcg-target.c           |   34 -
 tcg/ia64/tcg-target.h           |    1 -
 tcg/mips/tcg-target.c           |   31 +-
 tcg/mips/tcg-target.h           |    1 -
 tcg/ppc/tcg-target.c            |   38 -
 tcg/ppc64/tcg-target.c          |   28 -
 tcg/s390/tcg-target.c           |   24 -
 tcg/s390/tcg-target.h           |    1 -
 tcg/sparc/tcg-target.c          |   30 -
 tcg/sparc/tcg-target.h          |    1 -
 tcg/tci/tcg-target.c            |    4 -
 tci.c                           |   12 -
 user-exec.c                     |   14 -
 79 files changed, 5994 insertions(+), 6254 deletions(-)
 delete mode 100644 dyngen-exec.h
 create mode 100644 target-s390x/cc_helper.c
 create mode 100644 target-s390x/fpu_helper.c
 delete mode 100644 target-s390x/helper.c
 create mode 100644 target-s390x/int_helper.c
 create mode 100644 target-s390x/mem_helper.c
 create mode 100644 target-s390x/misc_helper.c
 delete mode 100644 target-s390x/op_helper.c

-- 
1.7.2.5


Reply via email to