mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
ddfd67dc64
Add LSV/LVS/LVM/SVM vector instructions and regression tests. Also update AsmParser to support new format of operands. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D89499
29 lines
993 B
ArmAsm
29 lines
993 B
ArmAsm
# RUN: llvm-mc -triple=ve --show-encoding < %s \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK-INST
|
|
|
|
# CHECK-INST: lsv %v11(0), %s12
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x8c,0x00,0x00,0x8e]
|
|
lsv %v11(0), %s12
|
|
|
|
# CHECK-INST: lsv %vix(%s23), %s12
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x8c,0x97,0x00,0x8e]
|
|
lsv %vix(%s23), %s12
|
|
|
|
# CHECK-INST: lsv %v11(0), (32)0
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x60,0x00,0x00,0x8e]
|
|
lsv %v11(0), (32)0
|
|
|
|
# CHECK-INST: lsv %vix(%s23), (23)1
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x17,0x97,0x00,0x8e]
|
|
lsv %vix(%s23), (23)1
|
|
|
|
# CHECK-INST: lsv %v11(%s22), (1)0
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x41,0x96,0x00,0x8e]
|
|
lsv %v11(%s22), (1)0
|
|
|
|
# CHECK-INST: lsv %vix(127), (63)1
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x3f,0x7f,0x00,0x8e]
|
|
lsv %vix(127), (63)1
|