Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve vector registers across helper calls on P #12350

Merged
merged 3 commits into from
Apr 5, 2021

Conversation

gacholio
Copy link
Contributor

@gacholio gacholio commented Apr 5, 2021

Optionally preserve the vector registers in the assembly helpers on Power. This is controlled by the J9_EXTENDED_RUNTIME_USE_VECTOR_REGISTERS bit in the J9JavaVM extendedRuntimeFlags field.

[ci skip]

Signed-off-by: Graham Chapman [email protected]

gacholio added 3 commits April 5, 2021 12:18
Optionally preserve the vector registers in the assembly helpers on
Power. This is controlled by the
J9_EXTENDED_RUNTIME_USE_VECTOR_REGISTERS bit in the J9JavaVM
extendedRuntimeFlags field.

Fixes: eclipse-openj9#11752

[ci skip]

Signed-off-by: Graham Chapman <[email protected]>
- Use different temp registers to avoid corrupting the arguments to
jitSoftwareReadBarrier

- Move jitStackOverflow into the optimized category for improved
performance

[ci skip]

Signed-off-by: Graham Chapman <[email protected]>
Code was incorrectly looking in javaVM->runtimeFlags instead of
extendedRuntimeFlags.

[ci skip]

Signed-off-by: Graham Chapman <[email protected]>
@gacholio
Copy link
Contributor Author

gacholio commented Apr 5, 2021

This is the same change as before, with a new commit to fix the crash in interpreter startup. The only review needed is for c1c0213

@gacholio
Copy link
Contributor Author

gacholio commented Apr 5, 2021

I've removed the "fixes:" from the description as I need to add 32-bit support before the work is complete. I'll do this in a separate PR.

@pshipton pshipton merged commit 6d005e0 into eclipse-openj9:master Apr 5, 2021
@pshipton
Copy link
Member

pshipton commented Apr 5, 2021

This was tested internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants