dotnet/runtime

[RyuJIT/x86/x64] Unify and streamline emitter for operand-size override prefix (0x66)

Open

#11,788 建立於 2019年1月10日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C# (5,445 fork)batch import
arch-x64arch-x86area-CodeGen-coreclrhelp wanted

倉庫指標

Star
 (17,886 star)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 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

貢獻者指南