[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / Xtensa / Core / memory.s
blob1e5a45782833152ae09d43009e51e18ef907ec7f
1 # RUN: llvm-mc %s -triple=xtensa -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
5 .align 4
6 LBL0:
8 # Instruction format RRI8
9 # CHECK-INST: l8ui a2, a1, 3
10 # CHECK: encoding: [0x22,0x01,0x03]
11 l8ui a2, sp, 3
13 # Instruction format RRI8
14 # CHECK-INST: l16si a3, a1, 4
15 # CHECK: encoding: [0x32,0x91,0x02]
16 l16si a3, sp, 4
18 # Instruction format RRI8
19 # CHECK-INST: l16ui a4, a1, 6
20 # CHECK: encoding: [0x42,0x11,0x03]
21 l16ui a4, sp, 6
23 # Instruction format RRI8
24 # CHECK-INST: l32i a5, a1, 8
25 # CHECK: encoding: [0x52,0x21,0x02]
26 l32i a5, sp, 8
28 # Instruction format RRI8
29 # CHECK-INST: s8i a2, a1, 3
30 # CHECK: encoding: [0x22,0x41,0x03]
31 s8i a2, sp, 3
33 # Instruction format RRI8
34 # CHECK-INST: s16i a3, a1, 4
35 # CHECK: encoding: [0x32,0x51,0x02]
36 s16i a3, sp, 4
38 # Instruction format RRI8
39 # CHECK-INST: s32i a5, a1, 8
40 # CHECK: encoding: [0x52,0x61,0x02]
41 s32i a5, sp, 8