mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
pan/midgard: Schedule to smul/sadd
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
57bac68fff
commit
2715bd02ee
1 changed files with 5 additions and 0 deletions
|
|
@ -753,6 +753,8 @@ mir_schedule_alu(
|
|||
unreachable("Bad condition");
|
||||
}
|
||||
|
||||
mir_choose_alu(&smul, instructions, worklist, len, &predicate, UNIT_SMUL);
|
||||
|
||||
if (!writeout)
|
||||
mir_choose_alu(&vlut, instructions, worklist, len, &predicate, UNIT_VLUT);
|
||||
|
||||
|
|
@ -777,6 +779,9 @@ mir_schedule_alu(
|
|||
unreachable("Bad condition");
|
||||
}
|
||||
|
||||
/* Stage 2, let's schedule sadd before vmul for writeout */
|
||||
mir_choose_alu(&sadd, instructions, worklist, len, &predicate, UNIT_SADD);
|
||||
|
||||
/* Check if writeout reads its own register */
|
||||
bool bad_writeout = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue