[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AVR / inst-family-set-clr-flag.s
blob782aedfa0265173ab88f65e75871fa542a114f14
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
3 foo:
5 ; Flag set operations
7 ; SEC
8 bset 0
9 sec
11 ; SEZ
12 bset 1
13 sez
15 ; SEN
16 bset 2
17 sen
19 ; SEV
20 bset 3
21 sev
23 ; SES
24 bset 4
25 ses
27 ; SEH
28 bset 5
29 seh
31 ; SET
32 bset 6
33 set
35 ; SEI
36 bset 7
37 sei
39 ; Flag clear operations
41 ; CLC
42 bclr 0
43 clc
45 ; CLZ
46 bclr 1
47 clz
49 ; CLN
50 bclr 2
51 cln
53 ; CLV
54 bclr 3
55 clv
57 ; CLS
58 bclr 4
59 cls
61 ; CLH
62 bclr 5
63 clh
65 ; CLT
66 bclr 6
67 clt
69 ; CLI
70 bclr 7
71 cli
73 ; CHECK: sec ; encoding: [0x08,0x94]
74 ; CHECK: sec ; encoding: [0x08,0x94]
75 ; CHECK: sez ; encoding: [0x18,0x94]
76 ; CHECK: sez ; encoding: [0x18,0x94]
77 ; CHECK: sen ; encoding: [0x28,0x94]
78 ; CHECK: sen ; encoding: [0x28,0x94]
79 ; CHECK: sev ; encoding: [0x38,0x94]
80 ; CHECK: sev ; encoding: [0x38,0x94]
81 ; CHECK: ses ; encoding: [0x48,0x94]
82 ; CHECK: ses ; encoding: [0x48,0x94]
83 ; CHECK: seh ; encoding: [0x58,0x94]
84 ; CHECK: seh ; encoding: [0x58,0x94]
85 ; CHECK: set ; encoding: [0x68,0x94]
86 ; CHECK: set ; encoding: [0x68,0x94]
87 ; CHECK: sei ; encoding: [0x78,0x94]
88 ; CHECK: sei ; encoding: [0x78,0x94]
90 ; CHECK: clc ; encoding: [0x88,0x94]
91 ; CHECK: clc ; encoding: [0x88,0x94]
92 ; CHECK: clz ; encoding: [0x98,0x94]
93 ; CHECK: clz ; encoding: [0x98,0x94]
94 ; CHECK: cln ; encoding: [0xa8,0x94]
95 ; CHECK: cln ; encoding: [0xa8,0x94]
96 ; CHECK: clv ; encoding: [0xb8,0x94]
97 ; CHECK: clv ; encoding: [0xb8,0x94]
98 ; CHECK: cls ; encoding: [0xc8,0x94]
99 ; CHECK: cls ; encoding: [0xc8,0x94]
100 ; CHECK: clh ; encoding: [0xd8,0x94]
101 ; CHECK: clh ; encoding: [0xd8,0x94]
102 ; CHECK: clt ; encoding: [0xe8,0x94]
103 ; CHECK: clt ; encoding: [0xe8,0x94]
104 ; CHECK: cli ; encoding: [0xf8,0x94]
105 ; CHECK: cli ; encoding: [0xf8,0x94]