dotnet/runtime
[JIT] Possible optimization for `x % {pow2_cns}` transformation for `ulong` types
Chiusa
#81.189 aperta il 25 gen 2023
area-CodeGen-coreclrhelp wantedtenet-performance
Metriche repository
- Star
- (17.886 stelle)
- Metriche merge PR
- (Merge medio 12g 11h) (661 PR mergiate in 30 g)
Descrizione
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.