RFR: 8287195: AArch64: Client VM build failure after JDK-8283689

Jorn Vernee jvernee at openjdk.java.net
Thu May 26 21:46:27 UTC 2022


On Thu, 26 May 2022 19:39:42 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

> The client build fails because foreignGlobals_aarch64.cpp uses Matcher without `#ifdef COMPILER2`.  However there's a latent bug here on SVE machines where `RegSpiller::pd_reg_size()` returns the SVE register size but other code that uses the register spill area (e.g. `DowncallStubGenerator::generate()` and `AArch64Architecture.VECTOR_REG_SIZE`) assume that we always save 16 bytes.  Since we don't support any calling conventions where arguments/results are passed in long vectors we should
> just save the first 128 bits of the register, like x86 does.

Marked as reviewed by jvernee (Reviewer).

Thanks for fixing.

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

PR: https://git.openjdk.java.net/jdk/pull/8908


More information about the hotspot-compiler-dev mailing list