1# RUN: not llvm-mc -triple powerpc64-unknown-unknown < %s 2> %t
2# RUN: FileCheck < %t %s
3# RUN: not llvm-mc -triple powerpc64le-unknown-unknown < %s 2> %t
4# RUN: FileCheck < %t %s
5
6 # CHECK: error: invalid operand for instruction
7paddi 1, 1, 32, 1
8
9# CHECK: error: invalid operand for instruction
10pld 1, 32(1), 1
11
12# CHECK: error: invalid operand for instruction
13paddi 1, 1, 32, 1
14
15# CHECK: error: invalid operand for instruction
16plbz 1, 32(1), 1
17
18# CHECK: error: invalid operand for instruction
19plfd 1, 32(1), 1
20
21# CHECK: error: invalid operand for instruction
22plfs 1, 32(1), 1
23
24# CHECK: error: invalid operand for instruction
25plha 1, 32(1), 1
26
27# CHECK: error: invalid operand for instruction
28plhz 1, 32(1), 1
29
30# CHECK: error: invalid operand for instruction
31plwa 1, 32(1), 1
32
33# CHECK: error: invalid operand for instruction
34plwz 1, 32(1), 1
35
36# CHECK: error: invalid operand for instruction
37plxsd 1, 32(1), 1
38
39# CHECK: error: invalid operand for instruction
40plxssp 1, 32(1), 1
41
42# CHECK: error: invalid operand for instruction
43plxv 1, 32(1), 1
44
45# CHECK: error: invalid operand for instruction
46pstb 1, 32(1), 1
47
48# CHECK: error: invalid operand for instruction
49pstd 1, 32(1), 1
50
51# CHECK: error: invalid operand for instruction
52pstfd 1, 32(1), 1
53
54# CHECK: error: invalid operand for instruction
55pstfs 1, 32(1), 1
56
57# CHECK: error: invalid operand for instruction
58psth 1, 32(1), 1
59
60# CHECK: error: invalid operand for instruction
61pstw 1, 32(1), 1
62
63# CHECK: error: invalid operand for instruction
64pstxsd 1, 32(1), 1
65
66# CHECK: error: invalid operand for instruction
67pstxssp 1, 32(1), 1
68
69# CHECK: error: invalid operand for instruction
70pstxv 1, 32(1), 1
71
72