RFR: 8367333: C2: Vector math operation intrinsification failure [v2]
Emanuel Peter
epeter at openjdk.org
Wed Sep 17 06:07:45 UTC 2025
On Tue, 16 Sep 2025 20:00:10 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
>> test/hotspot/jtreg/compiler/vectorapi/TestVectorMathLib.java line 33:
>>
>>> 31: * @test
>>> 32: * @bug 8367333
>>> 33: * @requires vm.compiler2.enabled
>>
>> Do you need this `@requires`? It might be nice to be able to run this with other compilers too.
>
> It's intended as C2-specific regression test and it relies on C2-specific VM flags. Vector API unit tests (under test/jdk/jdk/incubator/vector/) exercise the very same functionality, but don't specify flags required to trigger the bug.
I leave it up to you. You can always ignore unrecognized flags. And tests tend to diverge over time, so maybe a little duplication would not hurt. But up to you.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27263#discussion_r2354404792
More information about the hotspot-compiler-dev
mailing list