RFR: 8286972: Support the new loop induction variable related PopulateIndex IR node on x86 [v3]
Sandhya Viswanathan
sviswanathan at openjdk.java.net
Fri May 20 05:14:46 UTC 2022
On Fri, 20 May 2022 04:04:42 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
>> Sandhya Viswanathan has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - remove warmup
>> - Add jtreg test
>
> src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp line 2311:
>
>> 2309: case T_SHORT: evpbroadcastw(dst, src, vlen_enc); return;
>> 2310: case T_FLOAT: case T_INT: evpbroadcastd(dst, src, vlen_enc); return;
>> 2311: case T_DOUBLE: case T_LONG: evpbroadcastq(dst, src, vlen_enc); return;
>
> Can't we use single and double precision broadcasts for floating point types, like you have done in else part
> It may save domain switch over penalty (Section 3.5.2.2 Bypass between Execution Domains, Intel® 64 and IA-32 Architectures Optimization Reference Manual)
The floating point broadcast doesn't take the gpr as second source.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8778
More information about the hotspot-compiler-dev
mailing list