mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
aco/gfx11.7: allow any src VGPR for VOPD with two v_dual_mov_B32
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40917>
This commit is contained in:
parent
ad5be681bd
commit
f67b861f78
1 changed files with 2 additions and 2 deletions
|
|
@ -304,9 +304,9 @@ bool
|
|||
are_src_banks_compatible(enum amd_gfx_level gfx_level, const VOPDInfo& a, const VOPDInfo& b,
|
||||
bool swap)
|
||||
{
|
||||
if (gfx_level >= GFX12 && a.op == aco_opcode::v_dual_mov_b32 &&
|
||||
if (gfx_level >= GFX11_7 && a.op == aco_opcode::v_dual_mov_b32 &&
|
||||
b.op == aco_opcode::v_dual_mov_b32) {
|
||||
/* On GFX12+, OPY uses src2 if both OPX and OPY are v_dual_mov_b32, so there are no
|
||||
/* On GFX11.7+, OPY uses src2 if both OPX and OPY are v_dual_mov_b32, so there are no
|
||||
* compatibility issues. */
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue