mbox series

[0/7] tcg: Expose tcg_gen_ext_{i32,i64,tl}

Message ID 20231019182921.1772928-1-richard.henderson@linaro.org
Headers show
Series tcg: Expose tcg_gen_ext_{i32,i64,tl} | expand

Message

Richard Henderson Oct. 19, 2023, 6:29 p.m. UTC
We have several copies of this function (or equivalent).
Expose the one already present in tcg-op-ldst.c.
Then, some target cleanups while searching for "ext8[us]".


r~


Richard Henderson (7):
  tcg: Export tcg_gen_ext_{i32,i64,tl}
  target/arm: Use tcg_gen_ext_i64
  target/i386: Use tcg_gen_ext_tl
  target/m68k: Use tcg_gen_ext_i32
  target/rx: Use tcg_gen_ext_i32
  target/tricore: Use tcg_gen_*extract_tl
  target/xtensa: Use tcg_gen_sextract_i32

 include/tcg/tcg-op-common.h    |  2 ++
 include/tcg/tcg-op.h           |  2 ++
 target/arm/tcg/translate-a64.c | 37 ++--------------------------------
 target/i386/tcg/translate.c    | 28 +++----------------------
 target/m68k/translate.c        | 23 +++------------------
 target/rx/translate.c          | 11 +++-------
 target/tricore/translate.c     | 20 ++++--------------
 target/xtensa/translate.c      | 12 +----------
 tcg/tcg-op-ldst.c              | 14 +++++++++----
 9 files changed, 30 insertions(+), 119 deletions(-)