Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions llvm/test/MC/PowerPC/ppc64-encoding-ISA31-errors.s

This file was deleted.

65 changes: 65 additions & 0 deletions llvm/test/MC/PowerPC/ppc64-errors.s
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,71 @@
# RUN: not llvm-mc -triple powerpc64le-unknown-unknown < %s 2> %t
# RUN: FileCheck < %t %s

# From ISA31

# 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
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

# Register operands

# CHECK: error: invalid operand for instruction
Expand Down