avx512f-vmovntpd-2.c: Ensure res is 64-byte aligned.
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 Dec 2019 09:02:15 +0000 (10:02 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 Dec 2019 09:02:15 +0000 (10:02 +0100)
* 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
gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vmovntps-2.c

index 2f6f7af..fb38258 100644 (file)
@@ -1,3 +1,8 @@
+2019-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <dmalcolm@redhat.com>
 
        * gcc.dg/plugin/diagnostic_plugin_test_show_locus.c
index 96c26c2..f59dd55 100644 (file)
@@ -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);
index 9f4c7cb..7fe2348 100644 (file)
@@ -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,