KEMBAR78
ARM64: Optimize pair of "ldr reg, [fp]" to ldp · Issue #35130 · dotnet/runtime · GitHub
Skip to content

ARM64: Optimize pair of "ldr reg, [fp]" to ldp #35130

@kunalspathak

Description

@kunalspathak
ldr     x2, [fp,#24]
ldr     x3, [fp,#32]

can be combined into ldp if the loads are happening from subsequent memory.

ldp x2, x3, [fp, #24]

I collected no. of such ldr pairs in framework libraries and found approx. 28K pairs in 13K methods.

Details:

ldr_ldr_fp_to_ldp.txt

category:cq
theme:optimization
skill-level:intermediate
cost:small
impact:medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-arm64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions