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.

贡献者指南