[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / Xtensa / Core / call-jump.s
blob2e47a0eb47485d20b7bd04a2d6d700ef0df4e593
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 CALL
9 # CHECK-INST: call0 LBL0
10 # CHECK: encoding: [0bAA000101,A,A]
11 call0 LBL0
13 # Instruction format CALLX
14 # CHECK-INST: callx0 a1
15 # CHECK: encoding: [0xc0,0x01,0x00]
16 callx0 a1
18 # Instruction format CALL
19 # CHECK-INST: j LBL0
20 # CHECK: encoding: [0bAA000110,A,A]
21 j LBL0
23 # Instruction format CALLX
24 # CHECK-INST: jx a2
25 # CHECK: encoding: [0xa0,0x02,0x00]
26 jx a2
28 # Instruction format CALLX
29 # CHECK-INST: ret
30 # CHECK: encoding: [0x80,0x00,0x00]
31 ret