-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
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 SuperPMIgood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Description
bool Foo(ulong x) => x <= uint.MaxValue; // same for >Proposed diff for RyuJIT (what it currently emits vs expected)
; Method T:Foo(ulong):bool:this
- mov eax, 0xFFFFFFFF
- cmp rdx, rax
- setbe al
+ shr rdi, 32
+ sete al
movzx rax, al
ret grep.app: https://grep.app/search?q=%28%3C%3D%7C%3E%29%20uint.MaxValue®exp=true
category:implementation
theme:expression-opts
skill-level:beginner
cost:small
impact:small
PaulusParssinen
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 SuperPMIgood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors