@samitouri / QOSamiQemu / commits / 256e517259

target/s390x: Prefer MO_128 definition over magic value

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>

Philippe Mathieu-Daudé committed Apr 16, 2026 at 00:03 UTC 256e517259b1646eccb3fa5c99111a5fd49b89f1
1 file changed +1 -1
target/s390x/tcg/translate_vx.c.inc
+1 -1
@@ -50,7 +50,7 @@
50 #define ES_16 MO_16
51 #define ES_32 MO_32
52 #define ES_64 MO_64
53 -#define ES_128 4
53 +#define ES_128 MO_128
54
55 /* Floating-Point Format */
56 #define FPF_SHORT 2