RFR: 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic [v9]
Andrew Haley
aph at openjdk.org
Thu Oct 12 14:56:45 UTC 2023
On Thu, 12 Oct 2023 09:23:08 GMT, Florian Weimer <fweimer at openjdk.org> wrote:
>> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Add TestDenormalDouble.java
>
> test/hotspot/jtreg/compiler/floatingpoint/libfast-math.c line 37:
>
>> 35:
>> 36: #if defined(__GNUC__)
>> 37: static void __attribute__((constructor)) set_flush_to_zero(void) {
>
> Maybe add a comment that the ELF constructor is there to mimic historic GCC `-ffast-math` behavior on compilers that have been fixed not to do this for `-shared`?
OK.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/10661#discussion_r1356953215
More information about the build-dev
mailing list