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

Vladimir Kozlov kvn at openjdk.org
Tue Apr 16 20:25:45 UTC 2024


On Tue, 16 Apr 2024 19:11:52 GMT, Steve Dohrmann <duke at openjdk.org> wrote:

>> src/hotspot/cpu/x86/assembler_x86.hpp line 790:
>> 
>>> 788:   int  vex_prefix_and_encode(int dst_enc, int nds_enc, int src_enc,
>>> 789:                              VexSimdPrefix pre, VexOpcode opc,
>>> 790:                              InstructionAttr *attributes, bool src_is_gpr = false);
>> 
>> I saw a lot of usage of this method with `src_is_gpr` is `true`. What is actual most common case?
>
> Thanks @vnkozlov.  I believe false is the most common case.  If I counted right, I see 400+ calls total and 37 calls with src_is_gpr set to true.

Good. Thank you for checking.

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

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


More information about the hotspot-compiler-dev mailing list