[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / AVR / inst-fmul.s
blob466830f1f94abee06e8eb1d5b1298a44cef38913
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 -dr --mattr=mul - | FileCheck -check-prefix=CHECK-INST %s
4 foo:
5 fmul r22, r16
6 fmul r19, r17
7 fmul r21, r23
8 fmul r23, r23
9 fmul r16, r16
10 fmul r16, r23
12 ; CHECK: fmul r22, r16 ; encoding: [0x68,0x03]
13 ; CHECK: fmul r19, r17 ; encoding: [0x39,0x03]
14 ; CHECK: fmul r21, r23 ; encoding: [0x5f,0x03]
15 ; CHECK: fmul r23, r23 ; encoding: [0x7f,0x03]
16 ; CHECK: fmul r16, r16 ; encoding: [0x08,0x03]
17 ; CHECK: fmul r16, r23 ; encoding: [0x0f,0x03]
19 ; CHECK-INST: fmul r22, r16
20 ; CHECK-INST: fmul r19, r17
21 ; CHECK-INST: fmul r21, r23
22 ; CHECK-INST: fmul r23, r23
23 ; CHECK-INST: fmul r16, r16
24 ; CHECK-INST: fmul r16, r23