mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 08:20:25 +01:00
etnaviv: isa: Support unary branch instruction
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27871>
This commit is contained in:
parent
0aa737018e
commit
86de104d07
1 changed files with 10 additions and 0 deletions
|
|
@ -730,6 +730,10 @@ SPDX-License-Identifier: MIT
|
|||
<pattern low="96" high="98">000</pattern>
|
||||
</bitset>
|
||||
|
||||
<expr name="#instruction-has-src0">
|
||||
({SRC0_USE} != 0) && ({SRC1_USE} == 0)
|
||||
</expr>
|
||||
|
||||
<bitset name="#instruction-cf-maybe-src0-src1" extends="#instruction-cf">
|
||||
<display>
|
||||
{INSTR_CF} {:align=18}void, void, void, {TARGET}
|
||||
|
|
@ -741,6 +745,12 @@ SPDX-License-Identifier: MIT
|
|||
</display>
|
||||
</override>
|
||||
|
||||
<override expr="#instruction-has-src0">
|
||||
<display>
|
||||
{INSTR_CF} {:align=18}void, {SRC0}, void, {TARGET}
|
||||
</display>
|
||||
</override>
|
||||
|
||||
<!-- SRC0 -->
|
||||
<field name="SRC0_USE" pos="43" type="bool"/>
|
||||
<field name="SRC0_REG" low="44" high="52" type="uint"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue