-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
arch-x64arch-x86area-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 SuperPMIoptimization
Milestone
Description
As per dotnet/coreclr#20788 (comment), we are currently generating some inefficient code for certain op and comparison scenarios.
For example, on if ((xbits ^ ybits) < 0), we are currently generating:
xor edx, eax
test edx, edx
jge SHORT G_M7953_IG04When we could get rid of the test and just generate:
xor edx, eax
jns SHORT G_M7953_IG04category:cq
theme:codegen
skill-level:intermediate
cost:small
voinokin, gfoidl and saucecontrol
Metadata
Metadata
Assignees
Labels
arch-x64arch-x86area-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 SuperPMIoptimization