RFR: 8289046: Undefined Behaviour in x86 class Assembler [v9]

Andrew Haley aph at openjdk.org
Fri Jul 29 09:04:56 UTC 2022


On Fri, 29 Jul 2022 08:17:53 GMT, Aleksey Shipilev <shade 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.

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

PR: https://git.openjdk.org/jdk/pull/9261


More information about the hotspot-compiler-dev mailing list