]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/rx: Replace MO_TE -> MO_LE
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Oct 2025 14:55:50 +0000 (16:55 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Oct 2025 15:07:52 +0000 (17:07 +0200)
We only build the RX targets using little endianness order:

  $ git grep TARGET_BIG_ENDIAN configs/targets/rx-*
  $

Therefore the MO_TE definition always expands to MO_LE.
Use the latter to simplify.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251009151607.26278-8-philmd@linaro.org>

target/rx/translate.c

index 6ed7ef629ffcfde609f2b05e83d98d8908909f3c..f2168243c88f49a5daf95d4a4256401c631b09b9 100644 (file)
@@ -74,7 +74,7 @@ static TCGv_i64 cpu_acc;
 
 static inline MemOp mo_endian(DisasContext *dc)
 {
-    return MO_TE;
+    return MO_LE;
 }
 
 /* decoder helper */