Skip to content

Conversation

@kunalspathak
Copy link
Contributor

@kunalspathak kunalspathak commented May 24, 2024

  • Adds a high field in regMaskTP only for Arm64
  • Moved some of the assignment overloaded operator to regMaskTP as instance methods to directly update the low field.

To check the changes that are made on top of #102592, please see kunalspathak#2.

Depends on #102592

This reverts commit d53b620.

By not passing `regMaskTP` using constant reference, there is a small cost
we have to pay:

Without constant reference:
Overall: 1.80%
MinOpts: 2.05%
FullOpts: 1.62%

With constant reference:
Overall: 1.74%
MinOpts: 1.94%
FullOpts: 1.6%
Moved the *= operators as instance of `regMaskTP` so the `.low`
private field can directly be manipulated instead of converting
the `64-bit` value in `regMaskTP` before doing any operation.

Overall: 0.74%
MinOpts: 0.82%
FullOpts: 0.68%
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label May 24, 2024
@dotnet-policy-service
Copy link
Contributor

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

@kunalspathak
Copy link
Contributor Author

Made some more changes. I will send a fresh PR.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 28, 2024
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.

1 participant