Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-bst.s
blobe97454c497681d47c0fbd02598210c9a22622f8f
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 bst r3, 5
8 bst r1, 1
9 bst r0, 0
10 bst r7, 2
12 ; CHECK: bst r3, 5 ; encoding: [0x35,0xfa]
13 ; CHECK: bst r1, 1 ; encoding: [0x11,0xfa]
14 ; CHECK: bst r0, 0 ; encoding: [0x00,0xfa]
15 ; CHECK: bst r7, 2 ; encoding: [0x72,0xfa]
17 ; CHECK-INST: bst r3, 5
18 ; CHECK-INST: bst r1, 1
19 ; CHECK-INST: bst r0, 0
20 ; CHECK-INST: bst r7, 2