From 26c2efbc5a9baa65dfcffaf40e00955076574147 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 5 Dec 2017 17:17:09 +0100 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 11 +++++++++++ .../gcc.target/i386/avx256-unaligned-load-1.c | 4 ++-- .../gcc.target/i386/avx256-unaligned-store-1.c | 4 ++-- .../gcc.target/i386/avx256-unaligned-store-2.c | 4 ++-- .../gcc.target/i386/avx256-unaligned-store-3.c | 4 ++-- .../gcc.target/i386/avx256-unaligned-store-4.c | 4 ++-- gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c | 2 +- 7 files changed, 22 insertions(+), 11 deletions(-) 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 } } */ -- 2.30.2