RFR: 8328998: Encoding support for Intel APX extended general-purpose registers [v4]
Sandhya Viswanathan
sviswanathan at openjdk.org
Thu Apr 25 18:24:39 UTC 2024
On Fri, 19 Apr 2024 21:51:45 GMT, Steve Dohrmann <duke at openjdk.org> wrote:
>> Add instruction encoding support for Intel APX extended general-purpose registers:
>>
>> Intel Advanced Performance Extensions (APX) doubles the number of general-purpose registers, from 16 to 32. For more information about APX, see https://www.intel.com/content/www/us/en/developer/articles/technical/advanced-performance-extensions-apx.html.
>>
>> By specification, instruction encoding remains unchanged for instructions using only the lower 16 GPRs. For cases where one or more instruction operands reference extended GPRs (Egprs), encoding targets either REX2, an extension of REX encoding, or an extended version of EVEX encoding. These new encoding schemes extend or modify existing instruction prefixes only when Egprs are used.
>
> Steve Dohrmann has updated the pull request incrementally with one additional commit since the last revision:
>
> bug fix in other ::prefix_rex2
src/hotspot/cpu/x86/assembler_x86.cpp line 648:
> 646: }
> 647: } else if ((base_enc & 0x7) == 4) {
> 648: // rbp | r12 | r20 | r28
Comment should be:
// rsp | r12 | r20 | r28
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18476#discussion_r1579943571
More information about the hotspot-compiler-dev
mailing list