From 8cf23a6f80d47aff386a9a260d198696b50c9416 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 10 Dec 2019 10:02:15 +0100 Subject: [PATCH] avx512f-vmovntpd-2.c: Ensure res is 64-byte aligned. * gcc.target/i386/avx512f-vmovntpd-2.c: Ensure res is 64-byte aligned. * gcc.target/i386/avx512f-vmovntps-2.c: Likewise. From-SVN: r279158 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c | 2 +- gcc/testsuite/gcc.target/i386/avx512f-vmovntps-2.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2f6f7afe014..fb38258f1f8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-12-10 Jakub Jelinek + + * gcc.target/i386/avx512f-vmovntpd-2.c: Ensure res is 64-byte aligned. + * gcc.target/i386/avx512f-vmovntps-2.c: Likewise. + 2019-12-09 David Malcolm * gcc.dg/plugin/diagnostic_plugin_test_show_locus.c diff --git a/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c b/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c index 96c26c21ef4..f59dd5534e4 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c @@ -8,7 +8,7 @@ void static avx512f_test (void) { union512d s; - double res[8]; + double res[8] __attribute__((aligned (64))); s.x = _mm512_set_pd (-39578.467285, 4294967295.1, -7856.342941, 0, 85632.783567, 1234.9999, 47563.234215, -1.07); diff --git a/gcc/testsuite/gcc.target/i386/avx512f-vmovntps-2.c b/gcc/testsuite/gcc.target/i386/avx512f-vmovntps-2.c index 9f4c7cb5ab2..7fe234891dc 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-vmovntps-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-vmovntps-2.c @@ -8,7 +8,7 @@ void static avx512f_test (void) { union512 s; - float res[16]; + float res[16] __attribute__((aligned (64))); s.x = _mm512_set_ps (-39578.467285, 4294967295.1, -7856.342941, 0, 85632.783567, 1234.9999, 47563.234215, -1.07, -- 2.30.2