• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck %s
2// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck %s
3
4s_add_i32 s104, s0, s1
5// CHECK: error: not a valid operand
6
7s_add_i32 s105, s0, s1
8// CHECK: error: not a valid operand
9
10v_add_i32 v256, v0, v1
11// CHECK: error: not a valid operand
12
13v_add_i32 v257, v0, v1
14// CHECK: error: not a valid operand
15
16s_mov_b64 s[0:17], -1
17// CHECK: error: not a valid operand
18
19s_mov_b64 s[103:104], -1
20// CHECK: error: not a valid operand
21
22s_mov_b64 s[104:105], -1
23// CHECK: error: not a valid operand
24
25s_load_dwordx4 s[102:105], s[2:3], s4
26// CHECK: error: not a valid operand
27
28s_load_dwordx4 s[104:108], s[2:3], s4
29// CHECK: error: not a valid operand
30
31s_load_dwordx4 s[108:112], s[2:3], s4
32// CHECK: error: not a valid operand
33
34s_load_dwordx4 s[1:4], s[2:3], s4
35// CHECK: error: not a valid operand
36
37s_load_dwordx4 s[1:4], s[2:3], s4
38// CHECK: error: not a valid operand
39
40s_load_dwordx8 s[104:111], s[2:3], s4
41// CHECK: error: not a valid operand
42
43s_load_dwordx8 s[100:107], s[2:3], s4
44// CHECK: error: not a valid operand
45
46s_load_dwordx8 s[108:115], s[2:3], s4
47// CHECK: error: not a valid operand
48
49s_load_dwordx16 s[92:107], s[2:3], s4
50// CHECK: error: not a valid operand
51
52s_load_dwordx16 s[96:111], s[2:3], s4
53// CHECK: error: not a valid operand
54
55s_load_dwordx16 s[100:115], s[2:3], s4
56// CHECK: error: not a valid operand
57
58s_load_dwordx16 s[104:119], s[2:3], s4
59// CHECK: error: not a valid operand
60
61s_load_dwordx16 s[108:123], s[2:3], s4
62// CHECK: error: not a valid operand
63