Skip to content

Commit 9b4655e

Browse files
committed
[Autobackout][FuncReg]Revert of change: 280b094
Enable A64 WA by default Change-Id: I555d469adf70d3f369a0f7d46a445cd10b9b80c1
1 parent 29f5d8b commit 9b4655e

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

IGC/Compiler/CISACodeGen/DriverInfo.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,6 @@ namespace IGC
271271
/// Check for flush to zero for DP emulated function
272272
virtual bool DPEmulationFlushToZero() const { return false; }
273273

274-
/// check if the API support A64 WA. Corresponding RegKey for A64 WA is EnableA64WA
275-
virtual bool EnableA64WA() const { return true; }
276-
277274

278275

279276
};

IGC/Compiler/CISACodeGen/EmitVISAPass.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14417,9 +14417,7 @@ void EmitPass::A64LSLoopTail(CVariable* curMask, CVariable* lsPred, uint label)
1441714417

1441814418
bool EmitPass::hasA64WAEnable() const
1441914419
{
14420-
// check if the WA is disable by compiler flag or if the API can't support it
14421-
if (m_pCtx->getModuleMetaData()->compOpt.DisableA64WA ||
14422-
(!m_pCtx->m_DriverInfo.EnableA64WA()))
14420+
if (m_pCtx->getModuleMetaData()->compOpt.DisableA64WA)
1442314421
return false;
1442414422
return m_currShader->m_Platform->WaEnableA64WA();
1442514423
}

IGC/common/igc_flags.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ DECLARE_IGC_REGKEY(bool, ForceNoFP64bRegioning, false, "force regioning rules fo
376376
DECLARE_IGC_REGKEY(bool, EnableOneStepElf, true, "Enable generation of direct elf mapping src->Gen ISA", false)
377377
DECLARE_IGC_REGKEY(bool, EmitDebugRanges, false, "Emit .debug_ranges section when instructions in a block are non-consecutive", false)
378378
DECLARE_IGC_REGKEY(bool, EmitDebugLoc, false, "Enable generation of .debug_loc section", false)
379-
DECLARE_IGC_REGKEY(bool, EnableA64WA, true, "Guarantee A64 load/store addres-hi is uniform", false)
379+
DECLARE_IGC_REGKEY(bool, EnableA64WA, false, "Guarantee A64 load/store addres-hi is uniform", false)
380380

381381
DECLARE_IGC_GROUP("Generating precompiled headers")
382382
DECLARE_IGC_REGKEY(bool, ApplyConservativeRastWAHeader, true, "Apply WaConservativeRasterization for the platforms enabled", false)

0 commit comments

Comments
 (0)