From: Jakub Jelinek Date: Tue, 5 Dec 2017 16:17:09 +0000 (+0100) Subject: re PR testsuite/83289 (i386/sse2-init-v2di-2.c, i386/avx256-unaligned-load-1.c, i386... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26c2efbc5a9baa65dfcffaf40e00955076574147;p=gcc.git re PR testsuite/83289 (i386/sse2-init-v2di-2.c, i386/avx256-unaligned-load-1.c, i386/avx256-unaligned-store-*.c fails) 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. From-SVN: r255427 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b4f02a70046..41099b47ae8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2017-12-05 Jakub Jelinek + + 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. + 2017-12-05 Richard Biener PR tree-optimization/83277 diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-1.c b/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-1.c index 7115b0a9dde..68378a556fb 100644 --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-1.c +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-1.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-1.c b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-1.c index 4c713959df2..d82aecffda9 100644 --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-1.c +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-1.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-2.c b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-2.c index a2b644eb191..87285c680d3 100644 --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-2.c +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-2.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c index 4574f6a6146..a439a66ff34 100644 --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-4.c b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-4.c index c4566a330f3..463c1d824eb 100644 --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-4.c +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-4.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c b/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c index 38ca217c83b..97d0441a386 100644 --- a/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c +++ b/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c @@ -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 } } */