]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/tcg/i386/test-i386: use modern vector_size attributes
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 13 Apr 2018 16:16:00 +0000 (17:16 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Jun 2018 19:22:34 +0000 (20:22 +0100)
The compiler complains about the old __mode__ style attributes.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
tests/tcg/i386/test-i386.c

index cae6a7773ae1b4e65baf3ce56605faae044283ac..caef4da176818a29f9b6dfc47f19a0f47ab93d2d 100644 (file)
@@ -2106,8 +2106,8 @@ static void test_enter(void)
 
 #ifdef TEST_SSE
 
-typedef int __m64 __attribute__ ((__mode__ (__V2SI__)));
-typedef float __m128 __attribute__ ((__mode__(__V4SF__)));
+typedef int __m64 __attribute__ ((vector_size(8)));
+typedef float __m128 __attribute__ ((vector_size(16)));
 
 typedef union {
     double d[2];