reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
# RUN: llvm-mc -arch=mips -mcpu=mips1 < %s | FileCheck --check-prefixes=ALL,MIPS32 %s
# RUN: llvm-mc -arch=mips -mcpu=mips64 < %s | FileCheck --check-prefixes=ALL,MIPS64 %s

# ALL: .text
seq $2, $11, $0
# ALL: sltiu $2, $11, 1
seq $2, $0, $11
# ALL: sltiu $2, $11, 1
seq $2, $0, $0
# ALL: sltiu $2, $zero, 1
seq $2, $11, $12
# ALL: xor $2, $11, $12
# ALL: sltiu $2, $2, 1
seq $2, $11, 45
# ALL: xori $2, $11, 45
seq $2, $12, 0x76666
# ALL: lui $1, 7
# ALL: ori $1, $1, 26214
# ALL: xor $2, $12, $1
# ALL: sltiu $2, $2, 1
seq $2, $3
# ALL: xor $2, $2, $3
# ALL: sltiu $2, $2, 1
seq $2, 0x8888
# ALL: xori $2, $2, 34952
# ALL: sltiu $2, $2, 1
seq $2, $3, -1546
# MIPS32: addiu $2, $3, 1546
# MIPS64: daddiu $2, $3, 1546
# ALL: sltiu $2, $2, 1
seq $2, -7546
# MIPS32: addiu $2, $2, 7546
# MIPS64: daddiu $2, $2, 7546
# ALL: sltiu $2, $2, 1
seq $4, $5, -66666
# ALL: lui $1, 65534
# ALL: ori $1, $1, 64406
# ALL: xor $4, $5, $1
# ALL: sltiu $4, $4, 1
seq $4, $5, -2147483648
# ALL: lui $1, 32768
# ALL: xor $4, $5, $1
# ALL: sltiu $4, $4, 1
seq $4, -2147483648
# ALL: lui $1, 32768
# ALL: xor $4, $4, $1
# ALL: sltiu $4, $4, 1
seq $4, $5, 0
# ALL: sltiu $4, $5, 1
seq $4, $zero, 1
# MIPS32: move $4, $zero
# MIPS64: daddu $4, $zero, $zero