RFR: 8279508: Auto-vectorize Math.round API [v15]

Andrew Haley aph at openjdk.java.net
Mon Mar 14 09:32:50 UTC 2022


On Sun, 13 Mar 2022 04:27:25 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp line 4024:
>> 
>>> 4022:  * the result is equal to the value of Integer.MAX_VALUE.
>>> 4023:  */
>>> 4024: void C2_MacroAssembler::vector_cast_float_special_cases_avx(XMMRegister dst, XMMRegister src, XMMRegister xtmp1,
>> 
>> This special handling is really large, could we use a stub routine for it?
>
> Good suggestion, but as of now we are not using vector calling conventions for stubs.

I don't understand this comment. If the stub is only to be used by you, then you can determine your own calling convention.

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

PR: https://git.openjdk.java.net/jdk/pull/7094


More information about the hotspot-compiler-dev mailing list