Skip to content

Commit c0767b0

Browse files
bowenxue-inteligcbot
authored andcommitted
Enable Integer MAD and fix profitability function for
pattern matching MAD Enable Integer MAD by default, and fix profitability function for matching MAD
1 parent 1a10e79 commit c0767b0

File tree

2 files changed

+186
-196
lines changed

2 files changed

+186
-196
lines changed

IGC/Compiler/CISACodeGen/DriverInfo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ namespace IGC
294294
virtual bool SupportsDispatchGPGPUWalkerAlongYFirst() const { return true; }
295295

296296
/// Check if integer mad is enabled
297-
virtual bool EnableIntegerMad() const { return false; }
297+
virtual bool EnableIntegerMad() const { return true; }
298298

299299
/// Respect per instruction 'contract' Fast-Math flag
300300
virtual bool RespectPerInstructionContractFlag() const { return false; }

0 commit comments

Comments
 (0)