mbox series

[00/16] tcg: Remove TARGET_ALIGNED_ONLY

Message ID 20230502160846.1289975-1-richard.henderson@linaro.org
Headers show
Series tcg: Remove TARGET_ALIGNED_ONLY | expand

Message

Richard Henderson May 2, 2023, 4:08 p.m. UTC
Based-on: 20230502135741.1158035-1-richard.henderson@linaro.org
("[PATCH 0/9] tcg: Remove compatability helpers for qemu ld/st")

Add MO_ALIGN where required, so that we may remove TARGET_ALIGNED_ONLY.
This is required for building tcg once, because we cannot have multiple
definitions of MO_ALIGN and MO_UNALN.


r~


Richard Henderson (16):
  target/alpha: Use MO_ALIGN for system UNALIGN()
  target/alpha: Use MO_ALIGN where required
  target/alpha: Remove TARGET_ALIGNED_ONLY
  target/hppa: Use MO_ALIGN for system UNALIGN()
  target/hppa: Remove TARGET_ALIGNED_ONLY
  target/mips: Add MO_ALIGN to gen_llwp, gen_scwp
  target/mips: Add missing default_tcg_memop_mask
  target/mips: Use MO_ALIGN instead of 0
  target/mips: Remove TARGET_ALIGNED_ONLY
  target/nios2: Remove TARGET_ALIGNED_ONLY
  target/sh4: Use MO_ALIGN where required
  target/sh4: Remove TARGET_ALIGNED_ONLY
  target/sparc: Use MO_ALIGN where required
  target/sparc: Use cpu_ld*_code_mmu
  target/sparc: Remove TARGET_ALIGNED_ONLY
  tcg: Remove TARGET_ALIGNED_ONLY

 configs/targets/alpha-linux-user.mak       |   1 -
 configs/targets/alpha-softmmu.mak          |   1 -
 configs/targets/hppa-linux-user.mak        |   1 -
 configs/targets/hppa-softmmu.mak           |   1 -
 configs/targets/mips-linux-user.mak        |   1 -
 configs/targets/mips-softmmu.mak           |   1 -
 configs/targets/mips64-linux-user.mak      |   1 -
 configs/targets/mips64-softmmu.mak         |   1 -
 configs/targets/mips64el-linux-user.mak    |   1 -
 configs/targets/mips64el-softmmu.mak       |   1 -
 configs/targets/mipsel-linux-user.mak      |   1 -
 configs/targets/mipsel-softmmu.mak         |   1 -
 configs/targets/mipsn32-linux-user.mak     |   1 -
 configs/targets/mipsn32el-linux-user.mak   |   1 -
 configs/targets/nios2-softmmu.mak          |   1 -
 configs/targets/sh4-linux-user.mak         |   1 -
 configs/targets/sh4-softmmu.mak            |   1 -
 configs/targets/sh4eb-linux-user.mak       |   1 -
 configs/targets/sh4eb-softmmu.mak          |   1 -
 configs/targets/sparc-linux-user.mak       |   1 -
 configs/targets/sparc-softmmu.mak          |   1 -
 configs/targets/sparc32plus-linux-user.mak |   1 -
 configs/targets/sparc64-linux-user.mak     |   1 -
 configs/targets/sparc64-softmmu.mak        |   1 -
 include/exec/memop.h                       |  13 +--
 include/exec/poison.h                      |   1 -
 target/alpha/translate.c                   |  38 ++++----
 target/hppa/translate.c                    |   2 +-
 target/mips/tcg/mxu_translate.c            |   3 +-
 target/nios2/translate.c                   |  10 ++
 target/sh4/translate.c                     | 102 +++++++++++++--------
 target/sparc/ldst_helper.c                 |  10 +-
 target/sparc/translate.c                   |  66 ++++++-------
 tcg/tcg.c                                  |   5 -
 target/mips/tcg/micromips_translate.c.inc  |  24 +++--
 target/mips/tcg/mips16e_translate.c.inc    |  18 ++--
 target/mips/tcg/nanomips_translate.c.inc   |  32 +++----
 37 files changed, 186 insertions(+), 162 deletions(-)

Comments

Richard Henderson May 10, 2023, 11:16 a.m. UTC | #1
Ping for mips, nios2, sh4.
The portions for alpha, hppa and sparc have been merged.

r~

On 5/2/23 17:08, Richard Henderson wrote:
> Based-on: 20230502135741.1158035-1-richard.henderson@linaro.org
> ("[PATCH 0/9] tcg: Remove compatability helpers for qemu ld/st")
> 
> Add MO_ALIGN where required, so that we may remove TARGET_ALIGNED_ONLY.
> This is required for building tcg once, because we cannot have multiple
> definitions of MO_ALIGN and MO_UNALN.
> 
> 
> r~
> 
> 
> Richard Henderson (16):
>    target/alpha: Use MO_ALIGN for system UNALIGN()
>    target/alpha: Use MO_ALIGN where required
>    target/alpha: Remove TARGET_ALIGNED_ONLY
>    target/hppa: Use MO_ALIGN for system UNALIGN()
>    target/hppa: Remove TARGET_ALIGNED_ONLY
>    target/mips: Add MO_ALIGN to gen_llwp, gen_scwp
>    target/mips: Add missing default_tcg_memop_mask
>    target/mips: Use MO_ALIGN instead of 0
>    target/mips: Remove TARGET_ALIGNED_ONLY
>    target/nios2: Remove TARGET_ALIGNED_ONLY
>    target/sh4: Use MO_ALIGN where required
>    target/sh4: Remove TARGET_ALIGNED_ONLY
>    target/sparc: Use MO_ALIGN where required
>    target/sparc: Use cpu_ld*_code_mmu
>    target/sparc: Remove TARGET_ALIGNED_ONLY
>    tcg: Remove TARGET_ALIGNED_ONLY
> 
>   configs/targets/alpha-linux-user.mak       |   1 -
>   configs/targets/alpha-softmmu.mak          |   1 -
>   configs/targets/hppa-linux-user.mak        |   1 -
>   configs/targets/hppa-softmmu.mak           |   1 -
>   configs/targets/mips-linux-user.mak        |   1 -
>   configs/targets/mips-softmmu.mak           |   1 -
>   configs/targets/mips64-linux-user.mak      |   1 -
>   configs/targets/mips64-softmmu.mak         |   1 -
>   configs/targets/mips64el-linux-user.mak    |   1 -
>   configs/targets/mips64el-softmmu.mak       |   1 -
>   configs/targets/mipsel-linux-user.mak      |   1 -
>   configs/targets/mipsel-softmmu.mak         |   1 -
>   configs/targets/mipsn32-linux-user.mak     |   1 -
>   configs/targets/mipsn32el-linux-user.mak   |   1 -
>   configs/targets/nios2-softmmu.mak          |   1 -
>   configs/targets/sh4-linux-user.mak         |   1 -
>   configs/targets/sh4-softmmu.mak            |   1 -
>   configs/targets/sh4eb-linux-user.mak       |   1 -
>   configs/targets/sh4eb-softmmu.mak          |   1 -
>   configs/targets/sparc-linux-user.mak       |   1 -
>   configs/targets/sparc-softmmu.mak          |   1 -
>   configs/targets/sparc32plus-linux-user.mak |   1 -
>   configs/targets/sparc64-linux-user.mak     |   1 -
>   configs/targets/sparc64-softmmu.mak        |   1 -
>   include/exec/memop.h                       |  13 +--
>   include/exec/poison.h                      |   1 -
>   target/alpha/translate.c                   |  38 ++++----
>   target/hppa/translate.c                    |   2 +-
>   target/mips/tcg/mxu_translate.c            |   3 +-
>   target/nios2/translate.c                   |  10 ++
>   target/sh4/translate.c                     | 102 +++++++++++++--------
>   target/sparc/ldst_helper.c                 |  10 +-
>   target/sparc/translate.c                   |  66 ++++++-------
>   tcg/tcg.c                                  |   5 -
>   target/mips/tcg/micromips_translate.c.inc  |  24 +++--
>   target/mips/tcg/mips16e_translate.c.inc    |  18 ++--
>   target/mips/tcg/nanomips_translate.c.inc   |  32 +++----
>   37 files changed, 186 insertions(+), 162 deletions(-)
>