Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kunalspathak
Copy link
Contributor

@kunalspathak kunalspathak commented May 2, 2023

This is the last portion remaining in #81278. We will do peephole optimizations of replacing ldr/str with pair instructions ldp/stp in prolog as well. We will skip the portion of the prolog where we are generating code for unwind.

Fixes: #81278

@ghost ghost assigned kunalspathak May 2, 2023
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label May 2, 2023
@ghost
Copy link

ghost commented May 2, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

This is the last portion remaining in #81278. We will now skip peephole optimizations only if we are generating code in unwind.

Author: kunalspathak
Assignees: kunalspathak
Labels:

area-CodeGen-coreclr

Milestone: -

@kunalspathak
Copy link
Contributor Author

Diffs are great.

image

cc: @a74nh , @SwapnilGaikwad

@kunalspathak kunalspathak marked this pull request as ready for review May 2, 2023 18:14
@kunalspathak
Copy link
Contributor Author

@dotnet/jit-contrib

@kunalspathak kunalspathak requested a review from BruceForstall May 2, 2023 18:14
@kunalspathak
Copy link
Contributor Author

/azp run runtime-coreclr gcstress0x3-gcstress0xc, runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor

@BruceForstall BruceForstall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion

@kunalspathak
Copy link
Contributor Author

@kunalspathak
Copy link
Contributor Author

@BruceForstall - I didn't realize that I didn't push a change that renames unwindarm.cpp to unwindarmarch.cpp. Pushed it now.

@kunalspathak kunalspathak merged commit 372b01f into dotnet:main May 3, 2023
@kunalspathak kunalspathak deleted the peep-prolog-epilog branch May 3, 2023 03:28
@ghost ghost locked as resolved and limited conversation to collaborators Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generalize Arm64 ldr/str to ldp/stp optimization
2 participants