dotnet/runtime

[JIT] Possible optimization for `x % {pow2_cns}` transformation for `ulong` types

已關閉

#81,189 建立於 2023年1月25日

 (1 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
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.

貢獻者指南