[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 24/46] tests/tcg/i386/test-i386: use modern v
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v3 24/46] tests/tcg/i386/test-i386: use modern vector_size attributes |
Date: |
Wed, 25 Apr 2018 00:47:24 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 04/24/2018 12:23 PM, Alex Bennée wrote:
> The compiler complains about the old __mode__ style attributes.
old [school]
>
> 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];
>
- [Qemu-devel] [PATCH v3 17/46] docker: Add fedora-i386-cross image, (continued)
- [Qemu-devel] [PATCH v3 17/46] docker: Add fedora-i386-cross image, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 14/46] tests/tcg/multiarch: enable additional linux-test tests, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 31/46] tests/tcg: enable building for MIPS, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 20/46] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 29/46] tests/tcg/aarch64: add fcvt test cases for AArch64, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 24/46] tests/tcg/i386/test-i386: use modern vector_size attributes, Alex Bennée, 2018/04/24
- Re: [Qemu-devel] [PATCH v3 24/46] tests/tcg/i386/test-i386: use modern vector_size attributes,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v3 30/46] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 36/46] tests/tcg/alpha: add Alpha specific tests, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 43/46] tests/tcg/Makefile: update to be called from Makefile.target, Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 37/46] tests/tcg/alpha: fix warnings about write(), Alex Bennée, 2018/04/24
- [Qemu-devel] [PATCH v3 26/46] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/04/24