Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-sbis.s
blob506a1088c7f31237912ad8029b48fbbb7233b9d4
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump --no-print-imm-hex -d - | FileCheck -check-prefix=CHECK-INST %s
5 foo:
6 sbis 4, 3
7 sbis 6, 2
8 sbis 16, 5
9 sbis 0, 0
10 sbis 31, 0
11 sbis 0, 7
12 sbis 31, 7
14 sbis FOO+4, 7
16 ; CHECK: sbis 4, 3 ; encoding: [0x23,0x9b]
17 ; CHECK: sbis 6, 2 ; encoding: [0x32,0x9b]
18 ; CHECK: sbis 16, 5 ; encoding: [0x85,0x9b]
19 ; CHECK: sbis 0, 0 ; encoding: [0x00,0x9b]
20 ; CHECK: sbis 31, 0 ; encoding: [0xf8,0x9b]
21 ; CHECK: sbis 0, 7 ; encoding: [0x07,0x9b]
22 ; CHECK: sbis 31, 7 ; encoding: [0xff,0x9b]
24 ; CHECK: sbis FOO+4, 7 ; encoding: [0bAAAAA111,0x9b]
25 ; CHECK: ; fixup A - offset: 0, value: FOO+4, kind: fixup_port5
27 ; CHECK-INST: sbis 4, 3
28 ; CHECK-INST: sbis 6, 2
29 ; CHECK-INST: sbis 16, 5
30 ; CHECK-INST: sbis 0, 0
31 ; CHECK-INST: sbis 31, 0
32 ; CHECK-INST: sbis 0, 7
33 ; CHECK-INST: sbis 31, 7
35 ; CHECK-INST: sbis 0, 7