1 # RUN: llvm-mc %s -triple=xtensa -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
8 # Instruction format RRI8
9 # CHECK-INST: l8ui a2, a1, 3
10 # CHECK: encoding: [0x22,0x01,0x03]
13 # Instruction format RRI8
14 # CHECK-INST: l16si a3, a1, 4
15 # CHECK: encoding: [0x32,0x91,0x02]
18 # Instruction format RRI8
19 # CHECK-INST: l16ui a4, a1, 6
20 # CHECK: encoding: [0x42,0x11,0x03]
23 # Instruction format RRI8
24 # CHECK-INST: l32i a5, a1, 8
25 # CHECK: encoding: [0x52,0x21,0x02]
28 # Instruction format RRI8
29 # CHECK-INST: s8i a2, a1, 3
30 # CHECK: encoding: [0x22,0x41,0x03]
33 # Instruction format RRI8
34 # CHECK-INST: s16i a3, a1, 4
35 # CHECK: encoding: [0x32,0x51,0x02]
38 # Instruction format RRI8
39 # CHECK-INST: s32i a5, a1, 8
40 # CHECK: encoding: [0x52,0x61,0x02]