RFR: 8289046: Undefined Behaviour in x86 class Assembler [v9]
Aleksey Shipilev
shade at openjdk.org
Fri Jul 29 14:57:54 UTC 2022
On Fri, 29 Jul 2022 09:02:22 GMT, Andrew Haley <aph at openjdk.org> wrote:
> > I believe it blew up because `MacroAssembler::aesctr_encrypt` implicitly cast `0` to `Register`. This seems to work:
>
> Thanks for finding that. By the way, Vladimir Ivanov is working on a patch that will catch errors like this at build time.
Yes, I wondered if it is possible to make compiler barf on such implicit conversion.
Anyway, current patch seems to pass `tier1` and `tier2` on Linux x86_64 fastdebug on AVX-512 machine (Rocket Lake).
-------------
PR: https://git.openjdk.org/jdk/pull/9261
More information about the hotspot-compiler-dev
mailing list