diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-10-14 08:19:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-10-14 01:19:32 -0700 |
commit | c7a9c0e3377715f1051fc6fe13b9bebf651d33ea (patch) | |
tree | c87735d5f5ee247f27bbfe204f87672be4bc9ca3 | |
parent | cfeb0fa8c91502d26d8e2cab0065ba6946562d4d (diff) | |
download | gcc-c7a9c0e3377715f1051fc6fe13b9bebf651d33ea.zip gcc-c7a9c0e3377715f1051fc6fe13b9bebf651d33ea.tar.gz gcc-c7a9c0e3377715f1051fc6fe13b9bebf651d33ea.tar.bz2 |
Scan 256bit AVX register.
2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/recip-vec-sqrtf-avx.c: Scan 256bit AVX
register.
* gcc.target/i386/recip-vec-divf-avx.c: Likewise.
From-SVN: r165456
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/recip-vec-divf-avx.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 753a523..fd0ea91 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-10-14 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/i386/recip-vec-sqrtf-avx.c: Scan 256bit AVX + register. + * gcc.target/i386/recip-vec-divf-avx.c: Likewise. + 2010-10-14 Andrey Belevantsev <abel@ispras.ru> * gcc.target/ia64/20101005.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/recip-vec-divf-avx.c b/gcc/testsuite/gcc.target/i386/recip-vec-divf-avx.c index 29ed276..62eb903 100644 --- a/gcc/testsuite/gcc.target/i386/recip-vec-divf-avx.c +++ b/gcc/testsuite/gcc.target/i386/recip-vec-divf-avx.c @@ -13,4 +13,4 @@ void t1(void) r[i] = a[i] / b[i]; } -/* { dg-final { scan-assembler "vrcpps" } } */ +/* { dg-final { scan-assembler "vrcpps\[ \\t\]+\[^\n\]*%ymm" } } */ diff --git a/gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c b/gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c index 6caa3c0..a9bb6f1 100644 --- a/gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c +++ b/gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c @@ -31,4 +31,4 @@ void t3(void) r[i] = sqrtf (a[i]); } -/* { dg-final { scan-assembler-times "vrsqrtps" 3 } } */ +/* { dg-final { scan-assembler-times "vrsqrtps\[ \\t\]+\[^\n\]*%ymm" 3 } } */ |