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 2f6f7afe01471deda1e35502d9c3e33618757f6d..fb38258f1f850c3bf8fe2d6535ba363cba0aed46 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 96c26c21ef4aa9218b00a6f8d15d264e0e6da0fa..f59dd5534e44ef92feafefdc265bf70aa07a8e7f 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 9f4c7cb5ab2f2291f9e1aeec1847f0b75d0b31b1..7fe234891dc7260d3f18e39458dfd1592b74a02a 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,