diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2022-05-24 01:00:40 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2022-05-24 01:00:40 -0500 |
commit | 8fa8bca9f53fcfdedc2b4fa55093dbd1ab7abbd1 (patch) | |
tree | d6f69aba813f69a94bf7ba123c8f0e0366cee0ea | |
parent | 149d04ccbb908b3a251485b43faf204752942b9f (diff) | |
download | gcc-8fa8bca9f53fcfdedc2b4fa55093dbd1ab7abbd1.zip gcc-8fa8bca9f53fcfdedc2b4fa55093dbd1ab7abbd1.tar.gz gcc-8fa8bca9f53fcfdedc2b4fa55093dbd1ab7abbd1.tar.bz2 |
testsuite/rs6000: Adjust gcc.target/powerpc/pr78604.c [PR105706]
Commit r13-707 adjusts the below gimple:
iftmp.7_4 = _1 < _2 ? val2_7(D) : val1_8(D);
to
_3 = _1 >= _2;
iftmp.7_4 = _3 ? val1_8(D) : val2_7(D);
and result in one more vect_model_simple_cost dumping for each
function. Need to adjust the match count accordingly.
PR testsuite/105706
gcc/testsuite/ChangeLog:
* gcc.target/powerpc/pr78604.c: Adjust.
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/pr78604.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/pr78604.c b/gcc/testsuite/gcc.target/powerpc/pr78604.c index 35bfdb3..7a371af 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78604.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78604.c @@ -109,4 +109,6 @@ uns_gte (UNS_TYPE val1, UNS_TYPE val2) /* { dg-final { scan-assembler-times {\mvcmpgtsd\M} 4 } } */ /* { dg-final { scan-assembler-times {\mvcmpgtud\M} 4 } } */ /* { dg-final { scan-assembler-not {\mvcmpequd\M} } } */ -/* { dg-final { scan-tree-dump-times "vect_model_simple_cost" 8 "vect" } } */ +/* For each function, one is for the comparison statement and the other + is for the condition statement which consumes the compared result. */ +/* { dg-final { scan-tree-dump-times "vect_model_simple_cost" 16 "vect" } } */ |