From 1502c22e2c32d6a87dd17bdc76af68b8470cb6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Mon, 20 Dec 2021 10:46:43 +0100 Subject: [PATCH] aco: don't allow SDWA on VOP3P instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Timur Kristóf Cc: mesa-stable Part-of: --- src/amd/compiler/aco_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_ir.cpp b/src/amd/compiler/aco_ir.cpp index 156227a345c..eee2eb2e882 100644 --- a/src/amd/compiler/aco_ir.cpp +++ b/src/amd/compiler/aco_ir.cpp @@ -187,7 +187,7 @@ can_use_SDWA(chip_class chip, const aco_ptr& instr, bool pre_ra) if (!instr->isVALU()) return false; - if (chip < GFX8 || instr->isDPP()) + if (chip < GFX8 || instr->isDPP() || instr->isVOP3P()) return false; if (instr->isSDWA())