From 9d116ec147a3182a9c831ffdce02c98da8c5031d Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 11 Oct 2022 01:37:20 +0000 Subject: [PATCH] 8294262: AArch64: compiler/vectorapi/TestReverseByteTransforms.java test failed on SVE machine Reviewed-by: aph, njian --- .../jtreg/compiler/vectorapi/TestReverseByteTransforms.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java b/test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java index e828f87025a..d9d282c52d4 100644 --- a/test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java +++ b/test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java @@ -37,8 +37,12 @@ import jdk.test.lib.Utils; /* * @test * @bug 8287794 - * @summary Test various reverse bytes ideal transforms on X86(AVX2, AVX512) and AARCH64(NEON) + * @summary Test various reverse bytes ideal transforms on X86(AVX2, AVX512) and AArch64(NEON). + * For AArch64(SVE), we have a specific optimization, + * ReverseBytesV (ReverseBytesV X MASK) MASK => X, which eliminates both ReverseBytesV + * nodes. The test cases for AArch64(SVE) are in TestReverseByteTransformsSVE.java. * @requires vm.compiler2.enabled + * @requires !(vm.cpu.features ~= ".*sve.*") * @modules jdk.incubator.vector * @library /test/lib / * @run driver compiler.vectorapi.TestReverseByteTransforms