[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / Xtensa / Core / processor-control.s
blob5b648356fc68b101417a01a35af9ac21aa5ec94e
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 RRR
9 # CHECK-INST: dsync
10 # CHECK: encoding: [0x30,0x20,0x00]
11 dsync
13 # Instruction format RRR
14 # CHECK-INST: esync
15 # CHECK: encoding: [0x20,0x20,0x00]
16 esync
18 # Instruction format RRR
19 # CHECK-INST: isync
20 # CHECK: encoding: [0x00,0x20,0x00]
21 isync
23 # Instruction format RRR
24 # CHECK-INST: nop
25 # CHECK: encoding: [0xf0,0x20,0x00]
26 nop
28 # Instruction format RSR
29 # CHECK-INST: rsr a8, sar
30 # CHECK: encoding: [0x80,0x03,0x03]
31 rsr a8, sar
33 # CHECK-INST: rsr a8, sar
34 # CHECK: encoding: [0x80,0x03,0x03]
35 rsr.sar a8
37 # CHECK-INST: rsr a8, sar
38 # CHECK: encoding: [0x80,0x03,0x03]
39 rsr a8, 3
41 # Instruction format RRR
42 # CHECK-INST: rsync
43 # CHECK: encoding: [0x10,0x20,0x00]
44 rsync
46 # Instruction format RSR
47 # CHECK-INST: wsr a8, sar
48 # CHECK: encoding: [0x80,0x03,0x13]
49 wsr a8, sar
51 # CHECK-INST: wsr a8, sar
52 # CHECK: encoding: [0x80,0x03,0x13]
53 wsr.sar a8
55 # CHECK-INST: wsr a8, sar
56 # CHECK: encoding: [0x80,0x03,0x13]
57 wsr a8, 3
59 # Instruction format RRR
60 # CHECK-INST: xsr a8, sar
61 # CHECK: encoding: [0x80,0x03,0x61]
62 xsr a8, sar
64 # CHECK-INST: xsr a8, sar
65 # CHECK: encoding: [0x80,0x03,0x61]
66 xsr.sar a8
68 # CHECK-INST: xsr a8, sar
69 # CHECK: encoding: [0x80,0x03,0x61]
70 xsr a8, 3