Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / VE / LSV.s
blob72731c30606d5807204c97e1244dfc65949455b5
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: lsv %v11(0), %s12
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x8c,0x00,0x00,0x8e]
8 lsv %v11(0), %s12
10 # CHECK-INST: lsv %vix(%s23), %s12
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x8c,0x97,0x00,0x8e]
12 lsv %vix(%s23), %s12
14 # CHECK-INST: lsv %v11(0), (32)0
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x60,0x00,0x00,0x8e]
16 lsv %v11(0), (32)0
18 # CHECK-INST: lsv %vix(%s23), (23)1
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x17,0x97,0x00,0x8e]
20 lsv %vix(%s23), (23)1
22 # CHECK-INST: lsv %v11(%s22), (1)0
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x41,0x96,0x00,0x8e]
24 lsv %v11(%s22), (1)0
26 # CHECK-INST: lsv %vix(127), (63)1
27 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x3f,0x7f,0x00,0x8e]
28 lsv %vix(127), (63)1