You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RyuJIT x86: improve localloc codegen in some cases #6546
Address the following TODO in genStackPointerConstantAdjustment():
#ifdef TARGET_X86
if (regTmp != REG_NA)
{
// For x86, some cases don't want to use "sub ESP" because we don't want the emitter to track the adjustment// to ESP. So do the work in the count register.// TODO-CQ: manipulate ESP directly, to share code, reduce #ifdefs, and improve CQ. This would require// creating a way to temporarily turn off the emitter's tracking of ESP, maybe marking instrDescs as "don't// track".inst_Mov(TYP_I_IMPL, regTmp, REG_SPBASE, /* canSkip */false);
inst_RV_IV(INS_sub, regTmp, (target_ssize_t)-spDelta, EA_PTRSIZE);
inst_Mov(TYP_I_IMPL, REG_SPBASE, regTmp, /* canSkip */false);
}
else
#endif// TARGET_X86
Activity
TIHan commentedon Oct 4, 2022
This comment and code have been moved to:
genStackPointerConstantAdjustment