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: lsv %v11(0), %s12 7# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x8c,0x00,0x00,0x8e] 8lsv %v11(0), %s12 9 10# CHECK-INST: lsv %vix(%s23), %s12 11# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x8c,0x97,0x00,0x8e] 12lsv %vix(%s23), %s12 13 14# CHECK-INST: lsv %v11(0), (32)0 15# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x60,0x00,0x00,0x8e] 16lsv %v11(0), (32)0 17 18# CHECK-INST: lsv %vix(%s23), (23)1 19# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x17,0x97,0x00,0x8e] 20lsv %vix(%s23), (23)1 21 22# CHECK-INST: lsv %v11(%s22), (1)0 23# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x41,0x96,0x00,0x8e] 24lsv %v11(%s22), (1)0 25 26# CHECK-INST: lsv %vix(127), (63)1 27# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x3f,0x7f,0x00,0x8e] 28lsv %vix(127), (63)1 29