[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / macro-seq.s
blob814f198a07bd83c1839d1733000a297953431381
1 # RUN: llvm-mc -arch=mips -mcpu=mips1 < %s | FileCheck --check-prefixes=ALL,MIPS32 %s
2 # RUN: llvm-mc -arch=mips -mcpu=mips64 < %s | FileCheck --check-prefixes=ALL,MIPS64 %s
4 # ALL: .text
5 seq $2, $11, $0
6 # ALL: sltiu $2, $11, 1
7 seq $2, $0, $11
8 # ALL: sltiu $2, $11, 1
9 seq $2, $0, $0
10 # ALL: sltiu $2, $zero, 1
11 seq $2, $11, $12
12 # ALL: xor $2, $11, $12
13 # ALL: sltiu $2, $2, 1
14 seq $2, $11, 45
15 # ALL: xori $2, $11, 45
16 seq $2, $12, 0x76666
17 # ALL: lui $1, 7
18 # ALL: ori $1, $1, 26214
19 # ALL: xor $2, $12, $1
20 # ALL: sltiu $2, $2, 1
21 seq $2, $3
22 # ALL: xor $2, $2, $3
23 # ALL: sltiu $2, $2, 1
24 seq $2, 0x8888
25 # ALL: xori $2, $2, 34952
26 # ALL: sltiu $2, $2, 1
27 seq $2, $3, -1546
28 # MIPS32: addiu $2, $3, 1546
29 # MIPS64: daddiu $2, $3, 1546
30 # ALL: sltiu $2, $2, 1
31 seq $2, -7546
32 # MIPS32: addiu $2, $2, 7546
33 # MIPS64: daddiu $2, $2, 7546
34 # ALL: sltiu $2, $2, 1
35 seq $4, $5, -66666
36 # ALL: lui $1, 65534
37 # ALL: ori $1, $1, 64406
38 # ALL: xor $4, $5, $1
39 # ALL: sltiu $4, $4, 1
40 seq $4, $5, -2147483648
41 # ALL: lui $1, 32768
42 # ALL: xor $4, $5, $1
43 # ALL: sltiu $4, $4, 1
44 seq $4, -2147483648
45 # ALL: lui $1, 32768
46 # ALL: xor $4, $4, $1
47 # ALL: sltiu $4, $4, 1
48 seq $4, $5, 0
49 # ALL: sltiu $4, $5, 1
50 seq $4, $zero, 1
51 # MIPS32: move $4, $zero
52 # MIPS64: daddu $4, $zero, $zero