]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/s390x: Prefer MO_128 definition over magic value
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 15 Apr 2026 22:03:57 +0000 (00:03 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 30 Apr 2026 14:59:09 +0000 (16:59 +0200)
The MO_128 definition was not existing when commit 6d841663be8
("s390x/tcg: Implement VECTOR GATHER ELEMENT") introduced the
ES_128 definition. It was added 2 years later in commit 4b473e0c60d
("tcg: Expand MO_SIZE to 3 bits"). Since it is now available,
replace the magic '4' by the more explicit 'MO_128'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Message-ID: <20260415220358.93063-1-philmd@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/tcg/translate_vx.c.inc

index b53e9e5263919ecf63266c8e4496410bd40dc13a..447641df25c09d25b225fe7db343ab71e5f1b075 100644 (file)
@@ -50,7 +50,7 @@
 #define ES_16   MO_16
 #define ES_32   MO_32
 #define ES_64   MO_64
-#define ES_128  4
+#define ES_128  MO_128
 
 /* Floating-Point Format */
 #define FPF_SHORT       2