Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-sbic.s
blob68762188c3725244531a6f99b854b0a929670b2b
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:
7 sbic 4, 3
8 sbic 6, 2
9 sbic 16, 5
10 sbic 0, 0
11 sbic 31, 0
12 sbic 0, 7
13 sbic 31, 7
15 sbic foo+1, 1
17 ; CHECK: sbic 4, 3 ; encoding: [0x23,0x99]
18 ; CHECK: sbic 6, 2 ; encoding: [0x32,0x99]
19 ; CHECK: sbic 16, 5 ; encoding: [0x85,0x99]
20 ; CHECK: sbic 0, 0 ; encoding: [0x00,0x99]
21 ; CHECK: sbic 31, 0 ; encoding: [0xf8,0x99]
22 ; CHECK: sbic 0, 7 ; encoding: [0x07,0x99]
23 ; CHECK: sbic 31, 7 ; encoding: [0xff,0x99]
25 ; CHECK: sbic foo+1, 1 ; encoding: [0bAAAAA001,0x99]
26 ; CHECK: ; fixup A - offset: 0, value: foo+1, kind: fixup_port5
28 ; CHECK-INST: sbic 4, 3
29 ; CHECK-INST: sbic 6, 2
30 ; CHECK-INST: sbic 16, 5
31 ; CHECK-INST: sbic 0, 0
32 ; CHECK-INST: sbic 31, 0
33 ; CHECK-INST: sbic 0, 7
34 ; CHECK-INST: sbic 31, 7
36 ; CHECK-INST: sbic 0, 1