Skip to content

Commit b446262

Browse files
committed
8373682: Test compiler/loopopts/superword/TestReinterpretAndCast.java fails on x86_64 with AVX but without f16c
Reviewed-by: kvn, jsikstro, chagedorn
1 parent 0146077 commit b446262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/compiler/loopopts/superword/TestReinterpretAndCast.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public static Object[] setup2() {
162162
IRNode.STORE_VECTOR, "> 0",
163163
IRNode.VECTOR_REINTERPRET, "> 0"}, // We have at least I2F
164164
applyIfPlatform = {"64-bit", "true"},
165-
applyIfCPUFeature = {"avx", "true"})
165+
applyIfCPUFeatureAnd = {"avx", "true", "f16c", "true"})
166166
@IR(counts = {IRNode.LOAD_VECTOR_I, IRNode.VECTOR_SIZE + "min(max_int, max_float, max_short)", "> 0",
167167
IRNode.VECTOR_CAST_F2HF, IRNode.VECTOR_SIZE + "min(max_int, max_float, max_short)", "> 0",
168168
IRNode.STORE_VECTOR, "> 0",
@@ -208,7 +208,7 @@ public static Object[] setup3() {
208208
IRNode.STORE_VECTOR, "> 0",
209209
IRNode.VECTOR_REINTERPRET, "> 0"}, // We have at least F2I
210210
applyIfPlatform = {"64-bit", "true"},
211-
applyIfCPUFeature = {"avx", "true"})
211+
applyIfCPUFeatureAnd = {"avx", "true", "f16c", "true"})
212212
@IR(counts = {IRNode.LOAD_VECTOR_S, IRNode.VECTOR_SIZE + "min(max_float, max_short, max_long)", "> 0",
213213
IRNode.VECTOR_CAST_HF2F, IRNode.VECTOR_SIZE + "min(max_float, max_short, max_long)", "> 0",
214214
IRNode.VECTOR_CAST_I2L, IRNode.VECTOR_SIZE + "min(max_float, max_short, max_long)", "> 0",

0 commit comments

Comments
 (0)