llvm.org GIT mirror llvm / 74789ea
Don't rely on grep -w working. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62682 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 11 years ago
1 changed file(s) with 16 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
1 ; RUN: grep -w shlh %t1.s | count 9
2 ; RUN: grep -w shlhi %t1.s | count 3
3 ; RUN: grep -w shl %t1.s | count 9
4 ; RUN: grep -w shli %t1.s | count 3
5 ; RUN: grep -w xshw %t1.s | count 5
6 ; RUN: grep -w and %t1.s | count 5
7 ; RUN: grep -w andi %t1.s | count 2
8 ; RUN: grep -w rotmi %t1.s | count 2
9 ; RUN: grep -w rotqmbyi %t1.s | count 1
10 ; RUN: grep -w rotqmbii %t1.s | count 2
11 ; RUN: grep -w rotqmby %t1.s | count 1
12 ; RUN: grep -w rotqmbi %t1.s | count 1
13 ; RUN: grep -w rotqbyi %t1.s | count 1
14 ; RUN: grep -w rotqbii %t1.s | count 2
15 ; RUN: grep -w rotqbybi %t1.s | count 1
16 ; RUN: grep -w sfi %t1.s | count 3
1 ; RUN: grep {shlh } %t1.s | count 9
2 ; RUN: grep {shlhi } %t1.s | count 3
3 ; RUN: grep {shl } %t1.s | count 9
4 ; RUN: grep {shli } %t1.s | count 3
5 ; RUN: grep {xshw } %t1.s | count 5
6 ; RUN: grep {and } %t1.s | count 5
7 ; RUN: grep {andi } %t1.s | count 2
8 ; RUN: grep {rotmi } %t1.s | count 2
9 ; RUN: grep {rotqmbyi } %t1.s | count 1
10 ; RUN: grep {rotqmbii } %t1.s | count 2
11 ; RUN: grep {rotqmby } %t1.s | count 1
12 ; RUN: grep {rotqmbi } %t1.s | count 1
13 ; RUN: grep {rotqbyi } %t1.s | count 1
14 ; RUN: grep {rotqbii } %t1.s | count 2
15 ; RUN: grep {rotqbybi } %t1.s | count 1
16 ; RUN: grep {sfi } %t1.s | count 3
1717
1818 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
1919 target triple = "spu"