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