dotnet/runtime
[JIT] Possible optimization for `x % {pow2_cns}` transformation for `ulong` types
已關閉
#81,189 建立於 2023年1月25日
area-CodeGen-coreclrhelp wantedtenet-performance
倉庫指標
- 星標
- (17,886 顆星)
- PR 合併指標
- (平均合併 12天 11小時) (30 天內合併 661 個 PR)
描述
At the moment, we do not optimize x % {pow2_cns} to x & (pow2_cns - 1) for ulong types as they get transformed differently in morph.cpp. I believe we should only do this for X64 and not X86.