1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/PowerPC/ppc64-encoding-ISA31-errors.s
Lei Huang a12db9449e [PowerPC][NFC] Rename/organize encoding test files for ISA3.1
Rename `future*` encoding test files to include ISA3.1 in the file name
and combine with exisitng ISA3.1 instruction encoding tests that were
added into `p10*` test files.

Keeping the `p10*` files for now to ensure we don't add more to it.
Will remove once all ISA3.1 instruction are implemented.
2020-06-30 11:42:36 -05: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