Commit 57231effd9 for qemu.org
commit 57231effd9990a8f923a5e9f295452ee097a016d
Author: Jim MacArthur <jim.macarthur@linaro.org>
Date: Tue Oct 6 21:19:12 2026 +0100
tcg/aarch64/tcg-target.c.inc: Correct register MIN/MAX instuctions
Some digits for these were one position off.
Fixes: 100ec60528d3 ("tcg/aarch64: Implement min/max with FEAT_CSSC")
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4609
Reported-by: Ayoub Bourjilat <https://gitlab.com/Bourjilat>
Signed-off-by: Jim MacArthur <jim.macarthur@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20261006-jmac-4609-cssc-fixes-v1-1-798505d4a4a5@linaro.org>
diff --git a/tcg/aarch64/tcg-target.c.inc b/tcg/aarch64/tcg-target.c.inc
index 4ebdef7e07..273462ca61 100644
--- a/tcg/aarch64/tcg-target.c.inc
+++ b/tcg/aarch64/tcg-target.c.inc
@@ -549,10 +549,10 @@ typedef enum {
Irrr_UMULH = 0x9bc07c00,
Irrr_UDIV = 0x1ac00800,
Irrr_SDIV = 0x1ac00c00,
- Irrr_SMAX = 0x1ac00600,
- Irrr_UMAX = 0x1ac00640,
- Irrr_SMIN = 0x1ac00680,
- Irrr_UMIN = 0x1ac006c0,
+ Irrr_SMAX = 0x1ac06000,
+ Irrr_UMAX = 0x1ac06400,
+ Irrr_SMIN = 0x1ac06800,
+ Irrr_UMIN = 0x1ac06c00,
/* Data-processing (3 source) instructions. */
Irrrr_MADD = 0x1b000000,