Repository navigation
ARM64: Optimize redundant memory loads with mov #35141
Copy link
Copy link
Closed
Labels
arch-arm64area-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 SuperPMImemory modelissues associated with memory modelissues associated with memory model
Milestone
Description
Activity
- addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Apr 17, 2020 Dotnet-GitSync-Bot commented
on Apr 17, 2020 CollaboratorMore actionsI couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label.
- addedarea-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 SuperPMI
on Apr 17, 2020 - removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Apr 20, 2020 - addedJitUntriagedCLR JIT issues needing additional triageCLR JIT issues needing additional triage
on Oct 28, 2020 - removedJitUntriagedCLR JIT issues needing additional triageCLR JIT issues needing additional triage
on Nov 9, 2020 NOTE: this opt should not be done for loads of "volatile" fields
- addedmemory modelissues associated with memory modelissues associated with memory model
on Sep 7, 2022 - ghost addedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Mar 15, 2023 - ghost removedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Mar 21, 2023 - ghost locked as resolved and limited conversation to collaborators
on Apr 20, 2023
Metadata
Metadata
Assignees
Labels
arch-arm64area-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 SuperPMImemory modelissues associated with memory modelissues associated with memory model
Type
Projects
- StatusShow more project fieldsDone
The 2nd load can be converted into
movwhich takes 2 fewer cycles thanldr.I collected no. of such
ldrpairs in framework libraries and found approx. 540 pairs in 300 methods.Details:
ldr_to_mov.txt
category:cq
theme:optimization
skill-level:intermediate
cost:small