Skip to content

WIP: Introduce eGPRs and extended XMMRs#8267

Open
0xdaryl wants to merge 4 commits into
eclipse-omr:masterfrom
0xdaryl:apx/expandregs
Open

WIP: Introduce eGPRs and extended XMMRs#8267
0xdaryl wants to merge 4 commits into
eclipse-omr:masterfrom
0xdaryl:apx/expandregs

Conversation

@0xdaryl

@0xdaryl 0xdaryl commented May 26, 2026

Copy link
Copy Markdown
Contributor

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.

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>
@0xdaryl 0xdaryl requested a review from dsouzai as a code owner May 26, 2026 18:13
@0xdaryl 0xdaryl requested a review from mstoodle as a code owner May 26, 2026 18:13
@0xdaryl

0xdaryl commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

WIP while awaiting downstream changes to support this PR to settle.

@0xdaryl

0xdaryl commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Jenkins build xlinux,osx,win,x32linux

0xdaryl added 3 commits May 26, 2026 15:26
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>
@0xdaryl

0xdaryl commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Jenkins build xlinux,osx,win,x32linux

@0xdaryl

0xdaryl commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Jenkins build win

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.

1 participant