RFR: 8368205: [TESTBUG] VectorMaskCompareNotTest.java crashes when MaxVectorSize=8
erifan
duke at openjdk.org
Thu Sep 25 06:46:52 UTC 2025
On Wed, 24 Sep 2025 16:19:25 GMT, Galder Zamarreño <galder at openjdk.org> wrote:
> Looking at the test, I see that there are other tests that at a glance don't seem to use `I_SPECIES_FOR_CAST`. Shouldn't this limitation be applied to only the tests that do assert that?
Hi @galderz thanks for your input.
Yeah I agree with you that It would be great if we could precisely control that the relevant tests don't run when MaxVectorSize==8, but the current test framework doesn't handle this well. One approach is to introduce a runtime check, but I feel this approach is inelegant and lacks precedent.
Given that the optimizations tested in this test are independent of MaxVectorSize, and that many architectures don't generate some vector nodes when MaxVectorSize==8, so I think excluding the MaxVectorSize==8 case is ok. What do you think?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27418#issuecomment-3332414430
More information about the hotspot-compiler-dev
mailing list