Skip to content

Commit bc308aa

Browse files
Clean up + Revert "Add APX knob"
1 parent ba12085 commit bc308aa

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

src/coreclr/jit/compiler.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9729,12 +9729,6 @@ class Compiler
97299729
//
97309730
bool canUseApxEncoding() const
97319731
{
9732-
#ifdef DEBUG
9733-
if (JitConfig.JitBypassApxCheck())
9734-
{
9735-
return true;
9736-
}
9737-
#endif
97389732
return compOpportunisticallyDependsOn(InstructionSet_APX);
97399733
}
97409734

src/coreclr/jit/emitxarch.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3599,10 +3599,6 @@ unsigned emitter::emitGetAdjustedSize(instrDesc* id, code_t code) const
35993599
{
36003600
prefixAdjustedSize = emitGetEvexPrefixSize(id);
36013601
assert(prefixAdjustedSize == 4);
3602-
/*if (IsApxOnlyInstruction(ins))
3603-
{
3604-
return prefixAdjustedSize;
3605-
}*/
36063602
}
36073603
else
36083604
{

src/coreclr/jit/jitconfigvalues.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ RELEASE_CONFIG_INTEGER(JitNoInline, "JitNoInline", 0)
372372

373373
#if defined(DEBUG)
374374
CONFIG_INTEGER(JitStressRex2Encoding, "JitStressRex2Encoding", 0) // Enable rex2 encoding for compatible instructions.
375-
CONFIG_INTEGER(JitBypassApxCheck, "JitBypassApxCheck", 0)
376375
CONFIG_INTEGER(JitStressPromotedEvexEncoding, "JitStressPromotedEvexEncoding", 0) // Enable promoted EVEX encoding for
377376
// compatible instructions.
378377
#endif

0 commit comments

Comments
 (0)