Browse Source

target/rx: Replace MO_TE -> MO_LE

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>
pull/305/head
Philippe Mathieu-Daudé 6 months ago
parent
commit
f9903a8a23
  1. 2
      target/rx/translate.c

2
target/rx/translate.c

@ -74,7 +74,7 @@ static TCGv_i64 cpu_acc;
static inline MemOp mo_endian(DisasContext *dc)
{
return MO_TE;
return MO_LE;
}
/* decoder helper */

Loading…
Cancel
Save