[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / Mips / set-arch.s
blobe1123a90d06c3bc04feddc9c6bb9ac3ff0789a7a
1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32 | \
2 # RUN: FileCheck %s
4 .text
5 .set arch=mips1
6 add $2, $2, $2
7 .set arch=mips2
8 ll $2, -2($2)
9 .set arch=mips3
10 dadd $2, $2, $2
11 .set arch=mips4
12 ldxc1 $f8, $2($4)
13 .set arch=mips5
14 luxc1 $f19, $2($4)
15 .set arch=mips32
16 clo $2, $2
17 .set arch=mips32r2
18 rotr $2, $2, 15
19 .set arch=mips32
20 .set arch=mips32r3
21 rotr $2, $2, 15
22 .set arch=mips32
23 .set arch=mips32r5
24 rotr $2, $2, 15
25 .set arch=mips32r6
26 mod $2, $4, $6
27 .set arch=mips64
28 daddi $2, $2, 10
29 .set arch=mips64r2
30 drotr32 $1, $14, 15
31 .set arch=mips64
32 .set arch=mips64r3
33 drotr32 $1, $14, 15
34 .set arch=mips64
35 .set arch=mips64r5
36 drotr32 $1, $14, 15
37 .set arch=mips64r6
38 mod $2, $4, $6
39 .set arch=octeon
40 baddu $9, $6, $7
41 .set arch=r4000
42 dadd $2, $2, $2
44 # CHECK: .set arch=mips1
45 # CHECK: add $2, $2, $2
46 # CHECK: .set arch=mips2
47 # CHECK: ll $2, -2($2)
48 # CHECK: .set arch=mips3
49 # CHECK: dadd $2, $2, $2
50 # CHECK: .set arch=mips4
51 # CHECK: ldxc1 $f8, $2($4)
52 # CHECK: .set arch=mips5
53 # CHECK: luxc1 $f19, $2($4)
54 # CHECK: .set arch=mips32
55 # CHECK: clo $2, $2
56 # CHECK: .set arch=mips32r2
57 # CHECK: rotr $2, $2, 15
58 # CHECK: .set arch=mips32r6
59 # CHECK: mod $2, $4, $6
60 # CHECK: .set arch=mips64
61 # CHECK: daddi $2, $2, 10
62 # CHECK: .set arch=mips64r2
63 # CHECK: drotr32 $1, $14, 15
64 # CHECK: .set arch=mips64r6
65 # CHECK: mod $2, $4, $6
66 # CHECK: .set arch=octeon
67 # CHECK: baddu $9, $6, $7
68 # CHECK: .set arch=r4000
69 # CHECK: dadd $2, $2, $2