WIP: Introduce eGPRs and extended XMMRs#8267
Open
0xdaryl wants to merge 4 commits into
Open
Conversation
Enabling the flags is gated by either a command-line option or environment variable, in addition to support for the feature on the target processor. * `EnableAVX512ExtendedRegs` : allow use of xmm16-xmm31 (AVX512F) * `EnableExtendedGPRs` : allow use of r16-r31 (APX) Signed-off-by: Daryl Maier <maier@ca.ibm.com>
Contributor
Author
|
WIP while awaiting downstream changes to support this PR to settle. |
Contributor
Author
|
Jenkins build xlinux,osx,win,x32linux |
The register mask values are predictable and unlikely to change. Simplify the code by deriving the mask value from the register index. Signed-off-by: Daryl Maier <maier@ca.ibm.com>
The register RegNums are predictable and existing ones are unlikely to change without significant rework. Simplify the code by deriving the RegNum from the given register index. Signed-off-by: Daryl Maier <maier@ca.ibm.com>
Complete basic RealRegister and Machine support for these registers. There is no support for using these registers yet, such as in register assignment or linkage. Signed-off-by: Daryl Maier <maier@ca.ibm.com>
Contributor
Author
|
Jenkins build xlinux,osx,win,x32linux |
Contributor
Author
|
Jenkins build win |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complete basic RealRegister and Machine support for extended XMMRs (AVX512F)
and extended GPRs (APX), as well as supporting infrastructure.
There is no support for using these registers yet, such as in register
assignment or linkage.