• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=NOVI --implicit-check-not=error: %s
2
3s_memtime exec
4// NOVI: :11: error: invalid operand for instruction
5
6s_memrealtime exec
7// NOVI: :15: error: invalid operand for instruction
8
9s_store_dword m0, s[2:3], 0x0
10// NOVI: :15: error: invalid operand for instruction
11
12s_store_dword exec_lo, s[2:3], 0x0
13// NOVI: :15: error: invalid operand for instruction
14
15s_store_dword exec_hi, s[2:3], 0x0
16// NOVI: :15: error: invalid operand for instruction
17
18s_store_dwordx2 exec, s[2:3], 0x0
19// NOVI: :17: error: invalid operand for instruction
20
21s_buffer_store_dword m0, s[0:3], 0x0
22// NOVI: :22: error: invalid operand for instruction
23
24s_buffer_store_dword exec_lo, s[0:3], 0x0
25// NOVI: :22: error: invalid operand for instruction
26
27s_buffer_store_dword exec_hi, s[0:3], 0x0
28// NOVI: :22: error: invalid operand for instruction
29
30s_buffer_store_dwordx2 exec, s[0:3], 0x0
31// NOVI: :24: error: invalid operand for instruction
32
33s_load_dword m0, s[0:1], s4
34// NOVI: :14: error: invalid operand for instruction
35
36s_load_dword exec_lo, s[0:1], s4
37// NOVI: :14: error: invalid operand for instruction
38
39s_load_dword exec_hi, s[0:1], s4
40// NOVI: :14: error: invalid operand for instruction
41
42s_load_dwordx2 exec, s[0:1], s4
43// NOVI: :16: error: invalid operand for instruction
44
45s_buffer_load_dword m0, s[0:3], s4
46// NOVI: :21: error: invalid operand for instruction
47
48s_buffer_load_dword exec_lo, s[0:3], s4
49// NOVI: :21: error: invalid operand for instruction
50
51s_buffer_load_dword exec_hi, s[0:3], s4
52// NOVI: :21: error: invalid operand for instruction
53
54s_buffer_load_dwordx2 exec, s[0:3], s4
55// NOVI: :23: error: invalid operand for instruction
56