xref: /llvm-project/llvm/test/MC/VE/PFCHV.s (revision a91dd3d37d3f10831e544c5a797b3837b7e5744a)
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
5
6# CHECK-INST: pfchv 32, 0
7# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x20,0x40,0x80]
8pfchv 32, 0
9
10# CHECK-INST: pfchv.nc %s11, 0
11# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x8b,0x00,0x80]
12pfchv.nc %s11, 0
13
14# CHECK-INST: pfchv -4, %s13
15# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8d,0x7c,0x40,0x80]
16pfchv -4, %s13
17
18# CHECK-INST: pfchv.nc %s10, %s60
19# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0xbc,0x8a,0x00,0x80]
20pfchv.nc %s10, %s60
21