RFR: 8302191: Performance degradation for float/double modulo on Linux [v2]
Jan Kratochvil
duke at openjdk.org
Fri Mar 3 12:07:58 UTC 2023
On Wed, 1 Mar 2023 08:48:58 GMT, Jan Kratochvil <duke at openjdk.org> wrote:
>> src/hotspot/share/runtime/sharedRuntime.cpp line 236:
>>
>>> 234: const julong double_infinity = CONST64(0x7FF0000000000000);
>>> 235:
>>> 236: #ifndef X86
>>
>> I wonder if the WIN64 workaround is actually needed/valid for non-X86 windows?
>
> It is true the comment says:
>> 64-bit Windows on amd64 returns the wrong values for infinity operands.
>
> I have left the workaround really just for AMD64 Windows now. I am going to get it regression tested on aarch64 if that is enough.
So the _WIN64 workaround will be always there.
-------------
PR: https://git.openjdk.org/jdk/pull/12508
More information about the hotspot-dev
mailing list