From: Pierre Moreau Date: Mon, 4 Dec 2017 23:51:04 +0000 (+0100) Subject: nvir: Always split 64-bit IMAD/IMUL operations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21b92b3464193a203e069f50c21ebec146ae0215;p=mesa.git nvir: Always split 64-bit IMAD/IMUL operations Those operations do not map to actual hardware instructions, therefore those should always be lowered to 32-bit instructions. Fixes: 009c54aa7af "nv50/ir: Split 64-bit integer MAD/MUL operations" Signed-off-by: Pierre Moreau Reviewed-by: Karol Herbst Signed-off-by: Karol Herbst --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp index ecb4bae2a83..d851cf3c37c 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp @@ -3986,7 +3986,7 @@ Program::optimizeSSA(int level) RUN_PASS(2, AlgebraicOpt, run); RUN_PASS(2, ModifierFolding, run); // before load propagation -> less checks RUN_PASS(1, ConstantFolding, foldAll); - RUN_PASS(1, Split64BitOpPreRA, run); + RUN_PASS(0, Split64BitOpPreRA, run); RUN_PASS(2, LateAlgebraicOpt, run); RUN_PASS(1, LoadPropagation, run); RUN_PASS(1, IndirectPropagation, run);