From e79f58c7b12f37014efb7425399c93814cddb4c4 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Thu, 8 May 2014 15:39:32 +0000 Subject: [PATCH] * gcc.target/i386/avx256-unaligned-load-2.c, gcc.target/i386/pr49002-1.c, gcc.target/i386/pr53712.c, gcc.target/i386/pr53907.c, gcc.target/i386/pr59539-1.c: Allow packed-single instructions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210220 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/i386/avx256-unaligned-load-2.c | 2 +- gcc/testsuite/gcc.target/i386/pr49002-1.c | 2 +- gcc/testsuite/gcc.target/i386/pr53712.c | 2 +- gcc/testsuite/gcc.target/i386/pr53907.c | 2 +- gcc/testsuite/gcc.target/i386/pr59539-1.c | 2 +- 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ffbec5d2abf..aa92e3b6747 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2014-05-08 Joseph Myers + + * gcc.target/i386/avx256-unaligned-load-2.c, + gcc.target/i386/pr49002-1.c, gcc.target/i386/pr53712.c, + gcc.target/i386/pr53907.c, gcc.target/i386/pr59539-1.c: Allow + packed-single instructions. + 2014-05-08 Paolo Carlini PR c++/13981 diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-2.c b/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-2.c index 30b42aa38c2..6802b748001 100644 --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-2.c +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-2.c @@ -11,5 +11,5 @@ avx_test (char **cp, char **ep) } /* { dg-final { scan-assembler-not "(avx_loaddqu256|vmovdqu\[^\n\r]*movv32qi_internal)" } } */ -/* { dg-final { scan-assembler "(sse2_loaddqu|vmovdqu\[^\n\r]*movv16qi_internal)" } } */ +/* { dg-final { scan-assembler "(sse2_loaddqu|(vmovdqu|vmovups)\[^\n\r]*movv16qi_internal)" } } */ /* { dg-final { scan-assembler "vinsert.128" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr49002-1.c b/gcc/testsuite/gcc.target/i386/pr49002-1.c index 7553e8290e5..646fb2bceb6 100644 --- a/gcc/testsuite/gcc.target/i386/pr49002-1.c +++ b/gcc/testsuite/gcc.target/i386/pr49002-1.c @@ -13,4 +13,4 @@ void foo(const __m128d *from, __m256d *to, int s) /* Ensure we load into xmm, not ymm. */ /* { dg-final { scan-assembler-not "vmovapd\[\t \]*\[^,\]*,\[\t \]*%ymm" } } */ -/* { dg-final { scan-assembler "vmovapd\[\t \]*\[^,\]*,\[\t \]*%xmm" } } */ +/* { dg-final { scan-assembler "vmovap\[ds\]\[\t \]*\[^,\]*,\[\t \]*%xmm" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr53712.c b/gcc/testsuite/gcc.target/i386/pr53712.c index 5c47e20c300..394afc566b9 100644 --- a/gcc/testsuite/gcc.target/i386/pr53712.c +++ b/gcc/testsuite/gcc.target/i386/pr53712.c @@ -10,4 +10,4 @@ int test (const char *s1, const char *s2) return __builtin_ia32_pcmpistri128 (s1chars, s2chars, 0); } -/* { dg-final { scan-assembler-times "movdqu" 1 } } */ +/* { dg-final { scan-assembler-times "movdqu|movups" 1 } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr53907.c b/gcc/testsuite/gcc.target/i386/pr53907.c index 27e2e02985f..dbf5b99b3b8 100644 --- a/gcc/testsuite/gcc.target/i386/pr53907.c +++ b/gcc/testsuite/gcc.target/i386/pr53907.c @@ -13,4 +13,4 @@ __m128i x(char *s) return sz; } -/* { dg-final { scan-assembler "movdqa" } } */ +/* { dg-final { scan-assembler "movdqa|movaps" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr59539-1.c b/gcc/testsuite/gcc.target/i386/pr59539-1.c index 9b34053c4cb..68342ff15f2 100644 --- a/gcc/testsuite/gcc.target/i386/pr59539-1.c +++ b/gcc/testsuite/gcc.target/i386/pr59539-1.c @@ -13,4 +13,4 @@ foo (void *p1, void *p2) return _mm_movemask_epi8 (result); } -/* { dg-final { scan-assembler-times "vmovdqu" 1 } } */ +/* { dg-final { scan-assembler-times "vmovdqu|vmovups" 1 } } */ -- 2.11.4.GIT