[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 24/49] tests/tcg/i386/test-i386: use modern vecto
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v4 24/49] tests/tcg/i386/test-i386: use modern vector_size attributes |
Date: |
Thu, 17 May 2018 18:46:53 +0100 |
The compiler complains about the old __mode__ style attributes.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
---
tests/tcg/i386/test-i386.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/tcg/i386/test-i386.c b/tests/tcg/i386/test-i386.c
index cae6a7773a..caef4da176 100644
--- a/tests/tcg/i386/test-i386.c
+++ b/tests/tcg/i386/test-i386.c
@@ -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];
--
2.17.0
- [Qemu-devel] [PATCH v4 46/49] tests/tcg/Makefile: update to be called from Makefile.target, (continued)
[Qemu-devel] [PATCH v4 35/49] tests/tcg/mips: include common mips hello-mips, Alex Bennée, 2018/05/17
[Qemu-devel] [PATCH v4 24/49] tests/tcg/i386/test-i386: use modern vector_size attributes,
Alex Bennée <=
[Qemu-devel] [PATCH v4 19/49] tests/tcg/i386: Build fix for hello-i386, Alex Bennée, 2018/05/17
[Qemu-devel] [PATCH v4 39/49] tests/tcg/alpha: add Alpha specific tests, Alex Bennée, 2018/05/17
[Qemu-devel] [PATCH v4 48/49] tests/Makefile.include: add [build|clean|check]-tcg targets, Alex Bennée, 2018/05/17
[Qemu-devel] [PATCH v4 15/49] tests/tcg/multiarch: move most output to stdout, Alex Bennée, 2018/05/17
[Qemu-devel] [PATCH v4 26/49] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/05/17
[Qemu-devel] [PATCH v4 41/49] tests/tcg: enable building for m68k, Alex Bennée, 2018/05/17