diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-11-10 20:08:27 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-11-10 12:08:27 -0800 |
commit | c204d113c0f4fb764de0482320fcfa98af651607 (patch) | |
tree | d984c938b2229ed019403ce490a8feadc6d4b9ae /gcc/testsuite | |
parent | e6a054481d2586056b845639c8e26158169c027f (diff) | |
download | gcc-c204d113c0f4fb764de0482320fcfa98af651607.zip gcc-c204d113c0f4fb764de0482320fcfa98af651607.tar.gz gcc-c204d113c0f4fb764de0482320fcfa98af651607.tar.bz2 |
Check preferred vector mode for vector type in estimate_move_cost.
gcc/
2010-11-10 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/46414
* tree-inline.c (estimate_move_cost): Check preferred vector
mode for vector type.
gcc/testsuite/
2010-11-10 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/46414
* gcc.target/i386/recip-vec-sqrtf-avx.c: Updated for loop
unrolling.
From-SVN: r166552
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ba0a4c1..b00c673 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-11-10 H.J. Lu <hongjiu.lu@intel.com> + + PR tree-optimization/46414 + * gcc.target/i386/recip-vec-sqrtf-avx.c: Updated for loop + unrolling. + 2010-11-10 Tobias Burnus <burnus@net-b.de> PR fortran/46411 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 506df88..5a8e696 100644 --- a/gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c +++ b/gcc/testsuite/gcc.target/i386/recip-vec-sqrtf-avx.c @@ -32,4 +32,4 @@ void t3(void) } /* Last loop is small enough to be fully unrolled. */ -/* { dg-final { scan-assembler-times "vrsqrtps\[ \\t\]+\[^\n\]*%ymm" 4 } } */ +/* { dg-final { scan-assembler-times "vrsqrtps\[ \\t\]+\[^\n\]*%ymm" 6 } } */ |