]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Inline translator_ldl()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 27 Nov 2025 15:51:32 +0000 (16:51 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 12 Jan 2026 22:47:57 +0000 (23:47 +0100)
commit6b4c30465c0372c042b20b5f16f76f87e15118a5
tree7c16803ebd30dd139621c1b83f6a8fef37f6334d
parentf9a03787c7fea997a5aa0641a5c16c7b15e21a2a
target/loongarch: Inline translator_ldl()

translator_ldl() is defined in "exec/translator.h" as:

  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_LE
since LoongArch use little-endian order.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Message-ID: <20251224161456.89707-8-philmd@linaro.org>
target/loongarch/tcg/translate.c