8373682: Test compiler/loopopts/superword/TestReinterpretAndCast.java fails on x86_64 with AVX but without f16c

Reviewed-by: kvn, jsikstro, chagedorn
This commit is contained in:
Emanuel Peter 2025-12-18 07:04:40 +00:00
parent 0146077a51
commit b446262541

View File

@ -162,7 +162,7 @@ public class TestReinterpretAndCast {
IRNode.STORE_VECTOR, "> 0",
IRNode.VECTOR_REINTERPRET, "> 0"}, // We have at least I2F
applyIfPlatform = {"64-bit", "true"},
applyIfCPUFeature = {"avx", "true"})
applyIfCPUFeatureAnd = {"avx", "true", "f16c", "true"})
@IR(counts = {IRNode.LOAD_VECTOR_I, IRNode.VECTOR_SIZE + "min(max_int, max_float, max_short)", "> 0",
IRNode.VECTOR_CAST_F2HF, IRNode.VECTOR_SIZE + "min(max_int, max_float, max_short)", "> 0",
IRNode.STORE_VECTOR, "> 0",
@ -208,7 +208,7 @@ public class TestReinterpretAndCast {
IRNode.STORE_VECTOR, "> 0",
IRNode.VECTOR_REINTERPRET, "> 0"}, // We have at least F2I
applyIfPlatform = {"64-bit", "true"},
applyIfCPUFeature = {"avx", "true"})
applyIfCPUFeatureAnd = {"avx", "true", "f16c", "true"})
@IR(counts = {IRNode.LOAD_VECTOR_S, IRNode.VECTOR_SIZE + "min(max_float, max_short, max_long)", "> 0",
IRNode.VECTOR_CAST_HF2F, IRNode.VECTOR_SIZE + "min(max_float, max_short, max_long)", "> 0",
IRNode.VECTOR_CAST_I2L, IRNode.VECTOR_SIZE + "min(max_float, max_short, max_long)", "> 0",