diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-14 18:39:59 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-14 18:39:59 +0000 |
commit | 0d0bcf1bdc1f9b036bbd38703ffb964a009e121f (patch) | |
tree | c254f1e8330e5c12533f0f55b055ccd6b3acdb56 /gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c | |
parent | 61c149535974dd422d9a1608aec102e7df7bd21e (diff) | |
download | gcc-0d0bcf1bdc1f9b036bbd38703ffb964a009e121f.tar.gz |
PR testsuite/52641
* c-c++-common/simulate-thread/bitfields-2.c: Run test only for
target { ! int16 }.
* gcc.dg/tree-ssa/pr54245.c: Do slsr scan only for target { ! int16 }.
* gcc.dg/tree-ssa/slsr-1.c: Adjust multiplicators to scan for for
target { int16 }. Restrict existing tests to target { int32 }
where appropriate.
* gcc.dg/tree-ssa/slsr-2.c, gcc.dg/tree-ssa/slsr-27.c: Likewise.
* gcc.dg/tree-ssa/slsr-28.c, gcc.dg/tree-ssa/slsr-29.c: Likewise.
* gcc.dg/tree-ssa/slsr-3.c, gcc.dg/tree-ssa/ssa-ccp-23.c: Likewise.
* lib/target-supports.exp (check_effective_target_int32): New proc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201743 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c b/gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c index 32edf2b77b3..89d1d2e73fd 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c @@ -15,8 +15,11 @@ foo (int a[], int b[], int i) return i; } -/* { dg-final { scan-tree-dump-times "\\* 4" 1 "optimized" } } */ +/* { dg-final { scan-tree-dump-times "\\* 4" 1 "optimized" { target { int32 } } } } */ +/* { dg-final { scan-tree-dump-times "\\* 2" 1 "optimized" { target { int16 } } } } */ +/* { dg-final { scan-tree-dump-times "\\+ 2|\\, 2>" 5 "optimized" { target { int16 } } } } */ /* { dg-final { scan-tree-dump-times "\\+ 4|\\, 4>" 2 "optimized" } } */ -/* { dg-final { scan-tree-dump-times "\\+ 8|\\, 8>" 1 "optimized" } } */ -/* { dg-final { scan-tree-dump-times "\\+ 12|\\, 12>" 1 "optimized" } } */ +/* { dg-final { scan-tree-dump-times "\\+ 8|\\, 8>" 1 "optimized" { target { int32plus } } } } */ +/* { dg-final { scan-tree-dump-times "\\+ 6|\\, 6>" 1 "optimized" { target { int16 } } } } */ +/* { dg-final { scan-tree-dump-times "\\+ 12|\\, 12>" 1 "optimized" { target { int32 } } } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ |