comparison test/MC/AMDGPU/sopp.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children c2174574ed3a
comparison
equal deleted inserted replaced
120:1172e4bd9c6f 121:803732b1fca8
41 // GCN: s_cbranch_execz 7 ; encoding: [0x07,0x00,0x88,0xbf] 41 // GCN: s_cbranch_execz 7 ; encoding: [0x07,0x00,0x88,0xbf]
42 42
43 s_cbranch_execnz 8 43 s_cbranch_execnz 8
44 // GCN: s_cbranch_execnz 8 ; encoding: [0x08,0x00,0x89,0xbf] 44 // GCN: s_cbranch_execnz 8 ; encoding: [0x08,0x00,0x89,0xbf]
45 45
46 s_cbranch_cdbgsys 9
47 // GCN: s_cbranch_cdbgsys 9 ; encoding: [0x09,0x00,0x97,0xbf]
48
49 s_cbranch_cdbgsys_and_user 10
50 // GCN: s_cbranch_cdbgsys_and_user 10 ; encoding: [0x0a,0x00,0x9a,0xbf]
51
52 s_cbranch_cdbgsys_or_user 11
53 // GCN: s_cbranch_cdbgsys_or_user 11 ; encoding: [0x0b,0x00,0x99,0xbf]
54
55 s_cbranch_cdbguser 12
56 // GCN: s_cbranch_cdbguser 12 ; encoding: [0x0c,0x00,0x98,0xbf]
57
46 s_barrier 58 s_barrier
47 // GCN: s_barrier ; encoding: [0x00,0x00,0x8a,0xbf] 59 // GCN: s_barrier ; encoding: [0x00,0x00,0x8a,0xbf]
48 60
49 //===----------------------------------------------------------------------===// 61 //===----------------------------------------------------------------------===//
50 // s_waitcnt 62 // s_waitcnt
66 // GCN: s_waitcnt vmcnt(1) ; encoding: [0x71,0x0f,0x8c,0xbf] 78 // GCN: s_waitcnt vmcnt(1) ; encoding: [0x71,0x0f,0x8c,0xbf]
67 79
68 s_waitcnt vmcnt(9) 80 s_waitcnt vmcnt(9)
69 // GCN: s_waitcnt vmcnt(9) ; encoding: [0x79,0x0f,0x8c,0xbf] 81 // GCN: s_waitcnt vmcnt(9) ; encoding: [0x79,0x0f,0x8c,0xbf]
70 82
83 s_waitcnt vmcnt(15)
84 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
85
86 s_waitcnt vmcnt_sat(9)
87 // GCN: s_waitcnt vmcnt(9) ; encoding: [0x79,0x0f,0x8c,0xbf]
88
89 s_waitcnt vmcnt_sat(15)
90 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
91
92 s_waitcnt vmcnt_sat(16)
93 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
94
71 s_waitcnt expcnt(2) 95 s_waitcnt expcnt(2)
72 // GCN: s_waitcnt expcnt(2) ; encoding: [0x2f,0x0f,0x8c,0xbf] 96 // GCN: s_waitcnt expcnt(2) ; encoding: [0x2f,0x0f,0x8c,0xbf]
73 97
98 s_waitcnt expcnt(7)
99 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
100
101 s_waitcnt expcnt_sat(2)
102 // GCN: s_waitcnt expcnt(2) ; encoding: [0x2f,0x0f,0x8c,0xbf]
103
104 s_waitcnt expcnt_sat(7)
105 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
106
107 s_waitcnt expcnt_sat(0xFFFF0000)
108 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
109
74 s_waitcnt lgkmcnt(3) 110 s_waitcnt lgkmcnt(3)
75 // GCN: s_waitcnt lgkmcnt(3) ; encoding: [0x7f,0x03,0x8c,0xbf] 111 // GCN: s_waitcnt lgkmcnt(3) ; encoding: [0x7f,0x03,0x8c,0xbf]
76 112
77 s_waitcnt lgkmcnt(9) 113 s_waitcnt lgkmcnt(9)
78 // GCN: s_waitcnt lgkmcnt(9) ; encoding: [0x7f,0x09,0x8c,0xbf] 114 // GCN: s_waitcnt lgkmcnt(9) ; encoding: [0x7f,0x09,0x8c,0xbf]
79 115
116 s_waitcnt lgkmcnt(15)
117 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
118
80 s_waitcnt vmcnt(0), expcnt(0) 119 s_waitcnt vmcnt(0), expcnt(0)
81 // GCN: s_waitcnt vmcnt(0) expcnt(0) ; encoding: [0x00,0x0f,0x8c,0xbf] 120 // GCN: s_waitcnt vmcnt(0) expcnt(0) ; encoding: [0x00,0x0f,0x8c,0xbf]
82 121
122 s_waitcnt lgkmcnt_sat(3)
123 // GCN: s_waitcnt lgkmcnt(3) ; encoding: [0x7f,0x03,0x8c,0xbf]
124
125 s_waitcnt lgkmcnt_sat(9)
126 // GCN: s_waitcnt lgkmcnt(9) ; encoding: [0x7f,0x09,0x8c,0xbf]
127
128 s_waitcnt lgkmcnt_sat(15)
129 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
130
131 s_waitcnt lgkmcnt_sat(16)
132 // GCN: s_waitcnt ; encoding: [0x7f,0x0f,0x8c,0xbf]
83 133
84 s_sethalt 9 134 s_sethalt 9
85 // GCN: s_sethalt 9 ; encoding: [0x09,0x00,0x8d,0xbf] 135 // GCN: s_sethalt 9 ; encoding: [0x09,0x00,0x8d,0xbf]
86 136
137 s_setkill 7
138 // GCN: s_setkill 7 ; encoding: [0x07,0x00,0x8b,0xbf]
139
87 s_sleep 10 140 s_sleep 10
88 // GCN: s_sleep 10 ; encoding: [0x0a,0x00,0x8e,0xbf] 141 // GCN: s_sleep 10 ; encoding: [0x0a,0x00,0x8e,0xbf]
89 142
90 s_setprio 1 143 s_setprio 1
91 // GCN: s_setprio 1 ; encoding: [0x01,0x00,0x8f,0xbf] 144 // GCN: s_setprio 1 ; encoding: [0x01,0x00,0x8f,0xbf]
186 // NOSICI: error: instruction not supported on this GPU 239 // NOSICI: error: instruction not supported on this GPU
187 240
188 s_set_gpr_idx_mode 15 241 s_set_gpr_idx_mode 15
189 // VI: s_set_gpr_idx_mode dst src0 src1 src2 ; encoding: [0x0f,0x00,0x9d,0xbf] 242 // VI: s_set_gpr_idx_mode dst src0 src1 src2 ; encoding: [0x0f,0x00,0x9d,0xbf]
190 // NOSICI: error: instruction not supported on this GPU 243 // NOSICI: error: instruction not supported on this GPU
244
245 s_endpgm_saved
246 // VI: s_endpgm_saved ; encoding: [0x00,0x00,0x9b,0xbf]
247 // NOSICI: error: instruction not supported on this GPU
248
249 s_wakeup
250 // VI: s_wakeup ; encoding: [0x00,0x00,0x83,0xbf]
251 // NOSICI: error: instruction not supported on this GPU