From 308a5ea43afeb2373bd4bb43a59e3ce74e264c3a Mon Sep 17 00:00:00 2001 From: Vitaliy Triang3l Kuzmin Date: Mon, 3 Apr 2023 20:50:41 +0300 Subject: [PATCH] aco: Support pops_exiting_wave_id PhysReg usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pops_exiting_wave_id is a volatile ALU source operand containing the ID of the latest wave that hasn't exited yet, for comparing with the newest overlapped wave ID in overlapping waves. Reviewed-by: Timur Kristóf Signed-off-by: Vitaliy Triang3l Kuzmin Part-of: --- src/amd/compiler/aco_ir.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h index e04fcae44e7..3cec295cc45 100644 --- a/src/amd/compiler/aco_ir.h +++ b/src/amd/compiler/aco_ir.h @@ -483,6 +483,7 @@ static constexpr PhysReg sgpr_null{125}; /* GFX10+ */ static constexpr PhysReg exec{126}; static constexpr PhysReg exec_lo{126}; static constexpr PhysReg exec_hi{127}; +static constexpr PhysReg pops_exiting_wave_id{239}; /* GFX9-GFX10.3 */ static constexpr PhysReg vccz{251}; static constexpr PhysReg execz{252}; static constexpr PhysReg scc{253};