mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
pan/bi: Add ATOM_RETURN pseudo-instruction
Allows modeling Valhall's atomics better. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15223>
This commit is contained in:
parent
7983a0d0dc
commit
90867e8204
1 changed files with 24 additions and 0 deletions
|
|
@ -8272,6 +8272,30 @@
|
|||
<immediate name="sr_count" size="4" pseudo="true"/>
|
||||
</ins>
|
||||
|
||||
<ins name="+ATOM.i32" pseudo="true" staging="r=sr_count" message="atomic">
|
||||
<src start="0"/>
|
||||
<src start="3"/>
|
||||
<mod name="atom_opc" start="9" size="4">
|
||||
<reserved/>
|
||||
<reserved/>
|
||||
<opt>aadd</opt>
|
||||
<reserved/>
|
||||
<reserved/>
|
||||
<reserved/>
|
||||
<reserved/>
|
||||
<reserved/>
|
||||
<opt>asmin</opt>
|
||||
<opt>asmax</opt>
|
||||
<opt>aumin</opt>
|
||||
<opt>aumax</opt>
|
||||
<opt>aand</opt>
|
||||
<opt>aor</opt>
|
||||
<opt>axor</opt>
|
||||
</mod>
|
||||
<!-- not actually encoded, but used for IR -->
|
||||
<immediate name="sr_count" size="4" pseudo="true"/>
|
||||
</ins>
|
||||
|
||||
<!-- *CUBEFACE1/+CUBEFACE2 pair, two destinations, scheduler lowered -->
|
||||
<ins name="+CUBEFACE" pseudo="true" dests="2">
|
||||
<src start="0"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue