@@ -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