* [committed] Fix avx256-unaligned* testcases (PR testsuite/83289)
@ 2017-12-05 16:18 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2017-12-05 16:18 UTC (permalink / raw)
To: gcc-patches
Hi!
As Segher mentioned, the -dp printed alternative numbers used to be one
based, but now are zero based. This adjusts all the -dp testcases that
have /[1-9] regexps.
Tested on x86_64-linux and i686-linux, committed to trunk.
2017-12-05 Jakub Jelinek <jakub@redhat.com>
PR testsuite/83289
* gcc.target/i386/avx256-unaligned-load-1.c: Adjust for -dp
alternative numbers being 0 based instead of former 1 based.
* gcc.target/i386/avx256-unaligned-store-1.c: Likewise.
* gcc.target/i386/avx256-unaligned-store-2.c: Likewise.
* gcc.target/i386/avx256-unaligned-store-3.c: Likewise.
* gcc.target/i386/avx256-unaligned-store-4.c: Likewise.
* gcc.target/i386/sse2-init-v2di-2.c: Likewise.
--- gcc/testsuite/gcc.target/i386/avx256-unaligned-load-1.c.jj 2016-05-22 12:20:08.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/avx256-unaligned-load-1.c 2017-12-05 17:10:59.760515267 +0100
@@ -14,6 +14,6 @@ avx_test (void)
c[i] = a[i] * b[i+3];
}
-/* { dg-final { scan-assembler-not "vmovups\[^\n\r]*movv8sf_internal/3" } } */
-/* { dg-final { scan-assembler "movv4sf_internal/3" } } */
+/* { dg-final { scan-assembler-not "vmovups\[^\n\r]*movv8sf_internal/2" } } */
+/* { dg-final { scan-assembler "movv4sf_internal/2" } } */
/* { dg-final { scan-assembler "vinsertf128" } } */
--- gcc/testsuite/gcc.target/i386/avx256-unaligned-store-1.c.jj 2016-05-22 12:20:29.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/avx256-unaligned-store-1.c 2017-12-05 17:08:43.835187190 +0100
@@ -17,6 +17,6 @@ avx_test (void)
d[i] = c[i] * 20.0;
}
-/* { dg-final { scan-assembler-not "vmovups.*movv8sf_internal/4" } } */
-/* { dg-final { scan-assembler "vmovups.*movv4sf_internal/4" } } */
+/* { dg-final { scan-assembler-not "vmovups.*movv8sf_internal/3" } } */
+/* { dg-final { scan-assembler "vmovups.*movv4sf_internal/3" } } */
/* { dg-final { scan-assembler "vextractf128" } } */
--- gcc/testsuite/gcc.target/i386/avx256-unaligned-store-2.c.jj 2016-05-02 09:22:07.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/avx256-unaligned-store-2.c 2017-12-05 17:08:58.182010720 +0100
@@ -23,6 +23,6 @@ avx_test (void)
}
}
-/* { dg-final { scan-assembler-not "vmovups.*movv32qi_internal/4" } } */
-/* { dg-final { scan-assembler "vmovups.*movv16qi_internal/4" } } */
+/* { dg-final { scan-assembler-not "vmovups.*movv32qi_internal/3" } } */
+/* { dg-final { scan-assembler "vmovups.*movv16qi_internal/3" } } */
/* { dg-final { scan-assembler "vextract.128" } } */
--- gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c.jj 2016-05-22 12:20:05.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c 2017-12-05 17:09:12.409835713 +0100
@@ -17,6 +17,6 @@ avx_test (void)
d[i] = c[i] * 20.0;
}
-/* { dg-final { scan-assembler-not "vmovups.*movv4df_internal/4" } } */
-/* { dg-final { scan-assembler "vmovups.*movv2df_internal/4" } } */
+/* { dg-final { scan-assembler-not "vmovups.*movv4df_internal/3" } } */
+/* { dg-final { scan-assembler "vmovups.*movv2df_internal/3" } } */
/* { dg-final { scan-assembler "vextractf128" } } */
--- gcc/testsuite/gcc.target/i386/avx256-unaligned-store-4.c.jj 2016-05-22 12:20:09.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/avx256-unaligned-store-4.c 2017-12-05 17:09:23.989693278 +0100
@@ -14,6 +14,6 @@ avx_test (void)
b[i+3] = a[i] * c[i];
}
-/* { dg-final { scan-assembler "vmovups.*movv8sf_internal/4" } } */
-/* { dg-final { scan-assembler-not "movups.*movv4sf_internal/4" } } */
+/* { dg-final { scan-assembler "vmovups.*movv8sf_internal/3" } } */
+/* { dg-final { scan-assembler-not "movups.*movv4sf_internal/3" } } */
/* { dg-final { scan-assembler-not "vextractf128" } } */
--- gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c.jj 2016-06-02 11:43:06.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c 2017-12-05 17:07:46.449893047 +0100
@@ -10,4 +10,4 @@ test (long long b)
return _mm_cvtsi64_si128 (b);
}
-/* { dg-final { scan-assembler-times "vec_concatv2di/5" 1 } } */
+/* { dg-final { scan-assembler-times "vec_concatv2di/4" 1 } } */
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-05 16:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-05 16:18 [committed] Fix avx256-unaligned* testcases (PR testsuite/83289) Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).