1 # RUN: llvm-mc -arch=mips -show-encoding -mcpu=mips1 < %s | FileCheck %s
2 # RUN: llvm-mc -arch=mips -show-encoding -mcpu=mips64 < %s | FileCheck %s
5 # CHECK: slt $4, $5, $4 # encoding: [0x00,0xa4,0x20,0x2a]
6 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]
8 # CHECK: slt $4, $6, $5 # encoding: [0x00,0xc5,0x20,0x2a]
9 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]
11 # CHECK: addiu $4, $zero, 16 # encoding: [0x24,0x04,0x00,0x10]
12 # CHECK: slt $4, $4, $5 # encoding: [0x00,0x85,0x20,0x2a]
13 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]
15 # CHECK: sltu $4, $5, $4 # encoding: [0x00,0xa4,0x20,0x2b]
16 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]
18 # CHECK: sltu $4, $6, $5 # encoding: [0x00,0xc5,0x20,0x2b]
19 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]
21 # CHECK: addiu $4, $zero, 16 # encoding: [0x24,0x04,0x00,0x10]
22 # CHECK: sltu $4, $4, $5 # encoding: [0x00,0x85,0x20,0x2b]
23 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]
25 # CHECK: addiu $1, $zero, 16 # encoding: [0x24,0x01,0x00,0x10]
26 # CHECK: slt $4, $1, $4 # encoding: [0x00,0x24,0x20,0x2a]
27 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]
29 # CHECK: addiu $1, $zero, 16 # encoding: [0x24,0x01,0x00,0x10]
30 # CHECK: sltu $4, $1, $4 # encoding: [0x00,0x24,0x20,0x2b]
31 # CHECK: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01]