RFR: 8298632: [TESTBUG] Add IR checks in jtreg vectorization tests

Vladimir Kozlov kvn at openjdk.org
Thu Dec 15 20:23:05 UTC 2022


On Thu, 15 Dec 2022 18:05:35 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Good work. But I think you should add x86 IR testing too. It could be done by adding `"sse2", "true"` to `applyIfCPUFeatureOr`. Or high features (avx2, avx512) if required.

I tested and almost all tests passed if I use "avx2" instead of my original "sse2".

Few tests requires "avx512dq":

ArrayTypeConvertTest.convertDoubleToLong()
ArrayTypeConvertTest.convertFloatToLong()
ArrayTypeConvertTest.convertLongToDouble()
ArrayTypeConvertTest.convertLongToFloat()

BasicLongOpTest.vectorAbs() needs "avx512vl"

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

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


More information about the hotspot-compiler-dev mailing list