• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3
4# ALL: .text
5seq $2, $11, $0
6# ALL: sltiu $2, $11, 1
7seq $2, $0, $11
8# ALL: sltiu $2, $11, 1
9seq $2, $0, $0
10# ALL: sltiu $2, $zero, 1
11seq $2, $11, $12
12# ALL: xor $2, $11, $12
13# ALL: sltiu $2, $2, 1
14seq $2, $11, 45
15# ALL: xori $2, $11, 45
16seq $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
21seq $2, $3
22# ALL: xor $2, $2, $3
23# ALL: sltiu $2, $2, 1
24seq $2, 0x8888
25# ALL: xori $2, $2, 34952
26# ALL: sltiu $2, $2, 1
27seq $2, $3, -1546
28# MIPS32: addiu $2, $3, 1546
29# MIPS64: daddiu $2, $3, 1546
30# ALL: sltiu $2, $2, 1
31seq $2, -7546
32# MIPS32: addiu $2, $2, 7546
33# MIPS64: daddiu $2, $2, 7546
34# ALL: sltiu $2, $2, 1
35seq $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
40seq $4, $5, -2147483648
41# ALL: lui $1, 32768
42# ALL: xor $4, $5, $1
43# ALL: sltiu $4, $4, 1
44seq $4, -2147483648
45# ALL: lui $1, 32768
46# ALL: xor $4, $4, $1
47# ALL: sltiu $4, $4, 1
48seq $4, $5, 0
49# ALL: sltiu $4, $5, 1
50seq $4, $zero, 1
51# MIPS32: move $4, $zero
52# MIPS64: daddu $4, $zero, $zero
53