dotnet/runtime
[RyuJIT/x86/x64] Unify and streamline emitter for operand-size override prefix (0x66)
开放
#11,788 创建于 2019年1月10日
arch-x64arch-x86area-CodeGen-coreclrhelp wanted
仓库指标
- 星标
- (17,886 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Now, the emitter has a lot of code like below for adding operand-size override prefix (0x66) or estimating code size of it.
if (attrSize == EA_2BYTE && ins != INS_movzx && ins != INS_movsx)
{
...
}
We need to refactor the emitter to unify and simplify the code.
cc @CarolEidt @tannergooding
category:implementation theme:emitter skill-level:beginner cost:small impact:small