From 8f41964e21d4c4324acb8bf2200547474520c784 Mon Sep 17 00:00:00 2001 From: MBaesken Date: Tue, 23 Jul 2024 12:27:31 +0200 Subject: [PATCH] add requires part to the test, taken from compiler/intrinsics/float16/TestAllFloat16ToFloat.java --- .../compiler/vectorization/TestFloat16VectorConvChain.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorConvChain.java b/test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorConvChain.java index df272f7535e5e..384cc411d3eb8 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorConvChain.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorConvChain.java @@ -24,8 +24,10 @@ /** * @test * @summary Test Float16 vector conversion chain. +* @requires (vm.cpu.features ~= ".*avx512vl.*" | vm.cpu.features ~= ".*f16c.*") | os.arch == "aarch64" +* | (os.arch == "riscv64" & vm.cpu.features ~= ".*zfh.*") * @library /test/lib / -* @run driver/timeout=1200 compiler.vectorization.TestFloat16VectorConvChain +* @run driver compiler.vectorization.TestFloat16VectorConvChain */ package compiler.vectorization;