RFR: 8328998: Encoding support for Intel APX extended general-purpose registers [v4]

Steve Dohrmann duke at openjdk.org
Thu May 2 00:05:21 UTC 2024


On Mon, 29 Apr 2024 21:52:14 GMT, Steve Dohrmann <duke at openjdk.org> wrote:

>> src/hotspot/cpu/x86/assembler_x86.cpp line 13260:
>> 
>>> 13258:   } else {
>>> 13259:     emit_int24((prefix & 0xFF00) >> 8, prefix & 0x00FF, b1);
>>> 13260:   }
>> 
>> We need a check for UseAPX > 0 here.
>
> @sviswa7, sorry can you clarify what check is needed here.  Thanks.

Thanks, I understand now.  Have added an assert to require UseAPX if prefix is WREX2.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18476#discussion_r1586933474


More information about the hotspot-compiler-dev mailing list