Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-fmul.s
blob45443c99434b78c799456e728d8f17325ecb5c97
1 ; RUN: llvm-mc -triple avr -mattr=mul -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr -mattr=mul < %s | llvm-objdump -d --mattr=mul - | FileCheck -check-prefix=CHECK-INST %s
5 foo:
7 fmul r22, r16
8 fmul r19, r17
9 fmul r21, r23
10 fmul r23, r23
11 fmul r16, r16
12 fmul r16, r23
14 ; CHECK: fmul r22, r16 ; encoding: [0x68,0x03]
15 ; CHECK: fmul r19, r17 ; encoding: [0x39,0x03]
16 ; CHECK: fmul r21, r23 ; encoding: [0x5f,0x03]
17 ; CHECK: fmul r23, r23 ; encoding: [0x7f,0x03]
18 ; CHECK: fmul r16, r16 ; encoding: [0x08,0x03]
19 ; CHECK: fmul r16, r23 ; encoding: [0x0f,0x03]
21 ; CHECK-INST: fmul r22, r16
22 ; CHECK-INST: fmul r19, r17
23 ; CHECK-INST: fmul r21, r23
24 ; CHECK-INST: fmul r23, r23
25 ; CHECK-INST: fmul r16, r16
26 ; CHECK-INST: fmul r16, r23