<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54697>54697</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AMDGPU][MC][GFX10] Add syntactic sugar for s_waitcnt_depctr
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:AMDGPU,
mc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
dpreobra
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dpreobra
</td>
</tr>
</table>
<pre>
Assembler should allow using sp3-compatible helpers for s_waitcnt_depctr:
depctr_hold_cnt(...)
depctr_sa_sdst(...)
depctr_va_vdst(...)
depctr_va_sdst(...)
depctr_va_ssrc(...)
depctr_va_vcc(...)
depctr_vm_vsrc(...)
For example:
s_waitcnt_depctr depctr_sa_sdst(1) & depctr_va_vdst(1) & depctr_va_sdst(1)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUk1vozAQ_TXmYhUZA2ly4JBtlJ4q9bLS3tDYHsBdg5HHpO2_X-ej2tUmSpHlGfOeZ94bUN58NlsiHJXDwGnwizMcnPPvfCE79Zzm8kH7cYZoE4UP6GYMxDuf2O072Kin2BqcdQys3DKxY-Ky8_ScgXbwzrSJyOQ6z3MmN1cMgpYM3SEcoD18R_i2AlHQ91voe_jYHq4LnPd9mgd-wDg7vDGG_yd17bpI9TiTq2u7N5B_7px7ZKYpzabcQBZtdNiw-sf2Zff8-pPVu5S_PJ3j8_5XIVLKt8Zw-pwi6Gg1p6WHcPOLZktwzRDjTEdTcp9Wb-OwqDz9Eung3OErPMzBv6FOuvaWaEFKSV2tNo_Z0BRS4boTwnSFWtcoALoUdQdYwKPaYOZAoaOjbCalAv0bJ5M6XjxIyeRTGoEc9TGvd5ltpJBSVKIoZFVWVb6SZTqWKxCV7IqiY5XAEazLj9JyH_osNCeVaukpgc5SpL8gENl-QrwoMHNArwJcusESBx-ar7fZyV9zMvcH_FL_Xg">