1 # RUN: llvm-mc -triple=ve --show-encoding < %s \
2 # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 # RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4 # RUN: | FileCheck %s --check-prefixes=CHECK-INST
6 # CHECK-INST: fmul.d %s11, %s20, %s22
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x94,0x0b,0x4d]
8 fmul.d
%s11
, %s20
, %s22
10 # CHECK-INST: fmul.s %s11, 22, %s22
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x16,0x8b,0x4d]
14 # CHECK-INST: fmul.d %s11, 63, (60)1
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x3c,0x3f,0x0b,0x4d]
16 fmul.d
%s11
, 63, (60)1
18 # CHECK-INST: fmul.s %s11, -64, (22)0
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x56,0x40,0x8b,0x4d]
20 fmul.s
%s11
, -64, (22)0
22 # CHECK-INST: fmul.q %s12, %s20, %s22
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x94,0x0c,0x6d]
24 fmul.q
%s12
, %s20
, %s22