Aarch64 NCG: Use encoded immediates for literals.
Try to generate instr x2, <imm> instead of mov x1, lit instr x2, x1 When possible. This get's rid if quite a few redundant mov instructions. I believe this causes a metric decrease for LargeRecords as we reduce register pressure. ------------------------- Metric Decrease: LargeRecord -------------------------
parent
0bfc8908
No related branches found
No related tags found
Pipeline #82155 canceled
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Stage: deploy
Showing
- compiler/GHC/CmmToAsm/AArch64/CodeGen.hs 154 additions, 19 deletionscompiler/GHC/CmmToAsm/AArch64/CodeGen.hs
- compiler/GHC/CmmToAsm/AArch64/Instr.hs 10 additions, 7 deletionscompiler/GHC/CmmToAsm/AArch64/Instr.hs
- compiler/GHC/CmmToAsm/AArch64/Ppr.hs 1 addition, 0 deletionscompiler/GHC/CmmToAsm/AArch64/Ppr.hs
- compiler/GHC/CmmToAsm/AArch64/Regs.hs 9 additions, 0 deletionscompiler/GHC/CmmToAsm/AArch64/Regs.hs
Loading
-
mentioned in merge request !10849 (closed)
-
mentioned in issue #23793 (closed)
-
mentioned in commit d7a35b3c
-
mentioned in commit e3382a36
-
mentioned in commit ed7fcf89
-
mentioned in commit 0fb9d66f
-
mentioned in commit bb53b7cd
-
mentioned in commit 02dfcdc2
Please register or sign in to comment