-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Description
nint M1(uint mask) {
return BitOperations.TrailingZeroCount(mask) / sizeof(ushort);
}
nint M2(uint mask) {
return (nint)(uint.TrailingZeroCount(mask) / sizeof(ushort));
}C:M1(uint):nint:this (FullOpts):
xor eax, eax
tzcnt eax, esi
shr eax, 1
cdqe
ret
C:M2(uint):nint:this (FullOpts):
xor eax, eax
tzcnt eax, esi
shr eax, 1
ret Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors