mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 16:20:13 +01:00
pan/genxml: Rename UMIN32 opcode to COMPARE_SELECT32
This is the official name, let's match with newer generation too. Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34032>
This commit is contained in:
parent
2d7c402645
commit
079426dd62
2 changed files with 5 additions and 5 deletions
|
|
@ -219,7 +219,7 @@ print_cs_instr(FILE *fp, const uint64_t *instr)
|
|||
break;
|
||||
}
|
||||
|
||||
case MALI_CS_OPCODE_UMIN32: {
|
||||
case MALI_CS_OPCODE_COMPARE_SELECT32: {
|
||||
cs_unpack(instr, CS_UMIN32, I);
|
||||
|
||||
fprintf(fp, "UMIN32 r%u, r%u, r%u", I.destination, I.source_1,
|
||||
|
|
@ -1219,7 +1219,7 @@ record_indirect_branch_target(struct cs_code_cfg *cfg,
|
|||
break;
|
||||
}
|
||||
|
||||
case MALI_CS_OPCODE_UMIN32: {
|
||||
case MALI_CS_OPCODE_COMPARE_SELECT32: {
|
||||
cs_unpack(instr, CS_UMIN32, I);
|
||||
reg_file.u32[I.destination] =
|
||||
MIN2(reg_file.u32[I.source_1], reg_file.u32[I.source_0]);
|
||||
|
|
@ -1296,7 +1296,7 @@ collect_indirect_branch_targets_recurse(struct cs_code_cfg *cfg,
|
|||
break;
|
||||
}
|
||||
|
||||
case MALI_CS_OPCODE_UMIN32: {
|
||||
case MALI_CS_OPCODE_COMPARE_SELECT32: {
|
||||
cs_unpack(instr, CS_UMIN32, I);
|
||||
if (BITSET_TEST(track_map, I.destination)) {
|
||||
BITSET_SET(track_map, I.source_1);
|
||||
|
|
|
|||
|
|
@ -513,7 +513,7 @@
|
|||
<value name="FINISH_FRAGMENT" value="11"/>
|
||||
<value name="ADD_IMMEDIATE32" value="16"/>
|
||||
<value name="ADD_IMMEDIATE64" value="17"/>
|
||||
<value name="UMIN32" value="18"/>
|
||||
<value name="COMPARE_SELECT32" value="18"/>
|
||||
<value name="LOAD_MULTIPLE" value="20"/>
|
||||
<value name="STORE_MULTIPLE" value="21"/>
|
||||
<value name="BRANCH" value="22"/>
|
||||
|
|
@ -650,7 +650,7 @@
|
|||
<field name="Source 1" size="8" start="32" type="uint"/>
|
||||
<field name="Source 0" size="8" start="40" type="uint"/>
|
||||
<field name="Destination" size="8" start="48" type="uint"/>
|
||||
<field name="Opcode" size="8" start="56" type="CS Opcode" default="UMIN32"/>
|
||||
<field name="Opcode" size="8" start="56" type="CS Opcode" default="COMPARE_SELECT32"/>
|
||||
</struct>
|
||||
|
||||
<struct name="CS LOAD_MULTIPLE" size="2">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue