Skip to content

ARM64: Optimize pair of "str reg, [fp]" to stp  #35134

Description

@kunalspathak
str     x2, [fp,#16]
str     x3, [fp,#24]

can be combined into stp if the stores are happening in subsequent memory.

stp x2, x3, [fp, #16]

I collected no. of such str pairs in framework libraries and found approx. 33K pairs in 16K methods.

Details:

str_str_fp_to_stp.txt

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

Activity

  1. BruceForstall commented on Apr 18, 2020

    @BruceForstall
    Contributor

    Related: #35133, #35130

  2. added this to the Future milestone on Apr 20, 2020
  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Apr 20, 2020
  4. modified the milestones: Future, 6.0.0 on Nov 9, 2020
  5. modified the milestones: 6.0.0, Future on Mar 23, 2021
  6. ghost locked as resolved and limited conversation to collaborators on May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions