DoubleAccumulator and RISC-V weirdness
Aleksey Shipilev
shade at redhat.com
Wed Aug 24 18:15:50 UTC 2022
On 8/24/22 19:33, Aleksey Shipilev wrote:
> On 8/24/22 19:23, Aleksey Shipilev wrote:
>> Thoughts? If you agree this is a bug, I can PR the fix :)
>
> Dang. The minute I hit the "Send" button I of course realized this is "identity" (!), so applying
> the function to it was supposed to be neutral. It is then the user error to put in binary addition
> as the function, for which "13.9" is not an identity.
>
> The test we looked at is the minimized version of ./test/jdk/java/util/concurrent/atomic/Serial.java:
>
> https://github.com/openjdk/jdk/blob/568be58e8521e5e87baca1872ba8cc1941607bb7/test/jdk/java/util/concurrent/atomic/Serial.java#L66-L79
>
> ...which makes it a test bug?
Here we go:
https://bugs.openjdk.org/browse/JDK-8292877
https://github.com/openjdk/jdk/pull/10002
--
Thanks,
-Aleksey
More information about the riscv-port-dev
mailing list