llvm-mirror/test/MC/PowerPC/future-errors.s
Victor Huang aca5090954 [PowerPC][Future] Add prefixed loads and stores for future CPU
A previous patch should have added pld and pstd and any support code in
the backend that is required for prefixed load and store type operations.
This patch adds a number of additional prefixed load and store type
instructions for the future CPU.

Differential Revision: https://reviews.llvm.org/D72577
2020-01-29 14:45:56 -06:00

72 lines
1.6 KiB
ArmAsm

# RUN: not llvm-mc -triple powerpc64-unknown-unknown < %s 2> %t
# RUN: FileCheck < %t %s
# RUN: not llvm-mc -triple powerpc64le-unknown-unknown < %s 2> %t
# RUN: FileCheck < %t %s
# CHECK: error: invalid operand for instruction
paddi 1, 1, 32, 1
# CHECK: error: invalid operand for instruction
pld 1, 32(1), 1
# CHECK: error: invalid operand for instruction
paddi 1, 1, 32, 1
# CHECK: error: invalid operand for instruction
plbz 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plfd 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plfs 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plha 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plhz 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plwa 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plwz 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plxsd 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plxssp 1, 32(1), 1
# CHECK: error: invalid operand for instruction
plxv 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstb 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstd 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstfd 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstfs 1, 32(1), 1
# CHECK: error: invalid operand for instruction
psth 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstw 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstxsd 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstxssp 1, 32(1), 1
# CHECK: error: invalid operand for instruction
pstxv 1, 32(1), 1