-
Notifications
You must be signed in to change notification settings - Fork 5.5k
ARM64: Use STLUR/LDUR on arm64-v8.4+ #64457
Copy link
Copy link
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 SuperPMIhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issuePerformance related issue
Milestone
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 contributorstenet-performancePerformance related issuePerformance related issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
As per #64354 (comment)
For cases when we need to access a field using Store-Release semantic with an offset we can do that in a single instruction stlur/ldur.
Thanks to @neon-sunset for checking it on Apple M1 (arm64 v8.5), e.g.:
compiles down to:
while we currently emit something like:
category:cq
theme:basic-cq
skill-level:beginner
cost:small
impact:small