summary refs log tree commit diff stats
path: root/target/hexagon/idef-parser/parser-helpers.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-12 10:42:31 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 00:09:54 +0200
commitbeb38fda0f007b034ea7ff624b9f1db7699aa883 (patch)
treedb842c8e76fff86fa55cb7a8bd7c0bccb0066ba1 /target/hexagon/idef-parser/parser-helpers.c
parentfdcb7483ae08f5d21d8b5588413c0b0f3e39cda8 (diff)
downloadfocaccia-qemu-beb38fda0f007b034ea7ff624b9f1db7699aa883.tar.gz
focaccia-qemu-beb38fda0f007b034ea7ff624b9f1db7699aa883.zip
target/hexagon: Replace MO_TE -> MO_LE
We only build the Hexagon target using little endianness order.
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: Anton Johansson <anjo@rev.ng>
Message-Id: <20250312103238.99981-3-philmd@linaro.org>
Diffstat (limited to 'target/hexagon/idef-parser/parser-helpers.c')
-rw-r--r--target/hexagon/idef-parser/parser-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hexagon/idef-parser/parser-helpers.c b/target/hexagon/idef-parser/parser-helpers.c
index a7dcd85fe4..542af8d0a6 100644
--- a/target/hexagon/idef-parser/parser-helpers.c
+++ b/target/hexagon/idef-parser/parser-helpers.c
@@ -1761,7 +1761,7 @@ void gen_load(Context *c, YYLTYPE *locp, HexValue *width,
     if (signedness == SIGNED) {
         OUT(c, locp, " | MO_SIGN");
     }
-    OUT(c, locp, " | MO_TE);\n");
+    OUT(c, locp, " | MO_LE);\n");
 }
 
 void gen_store(Context *c, YYLTYPE *locp, HexValue *width, HexValue *ea,