]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Inline translator_lduw() and translator_ldl()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 24 Dec 2025 16:20:34 +0000 (17:20 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 7 Jan 2026 08:55:37 +0000 (09:55 +0100)
commitf0853c25862d3b91584f7b763ead22796c818c28
tree96f6095ec8c63c1e64fdb6036a0a8a2f5e019320
parentee4dae6a332e773fa4f1f7e5f2a100aba54c8b3c
target/s390x: Inline translator_lduw() and translator_ldl()

translator_lduw() and translator_ldl() are defined in
"exec/translator.h" as:

  192 static inline uint16_t
  193 translator_lduw(CPUArchState *env, DisasContextBase *db, vaddr pc)
  194 {
  195     return translator_lduw_end(env, db, pc, MO_TE);
  196 }

  198 static inline uint32_t
  199 translator_ldl(CPUArchState *env, DisasContextBase *db, vaddr pc)
  200 {
  201     return translator_ldl_end(env, db, pc, MO_TE);
  202 }

Directly use the inlined form, expanding MO_TE -> MO_BE
since we only build the S390x target as big-endian.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251224162036.90404-8-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/translate.c