@@ -143,6 +143,9 @@ public float[] convertIntToFloat() {
143143
144144 @ Test
145145 @ IR (applyIfCPUFeatureOr = {"asimd" , "true" , "avx" , "true" },
146+ // The vectorization of some conversions may fail when `+AlignVector`.
147+ // We can remove the condition after JDK-8303827.
148+ applyIf = {"AlignVector" , "false" },
146149 counts = {IRNode .VECTOR_CAST_I2X , ">0" })
147150 public double [] convertIntToDouble () {
148151 double [] res = new double [SIZE ];
@@ -230,6 +233,9 @@ public int[] convertFloatToInt() {
230233
231234 @ Test
232235 @ IR (applyIfCPUFeatureOr = {"asimd" , "true" , "avx512dq" , "true" },
236+ // The vectorization of some conversions may fail when `+AlignVector`.
237+ // We can remove the condition after JDK-8303827.
238+ applyIf = {"AlignVector" , "false" },
233239 counts = {IRNode .VECTOR_CAST_F2X , ">0" })
234240 public long [] convertFloatToLong () {
235241 long [] res = new long [SIZE ];
@@ -311,6 +317,9 @@ public char[] convertDoubleToChar() {
311317 // ---------------- Convert Between F & D ----------------
312318 @ Test
313319 @ IR (applyIfCPUFeatureOr = {"asimd" , "true" , "avx" , "true" },
320+ // The vectorization of some conversions may fail when `+AlignVector`.
321+ // We can remove the condition after JDK-8303827.
322+ applyIf = {"AlignVector" , "false" },
314323 counts = {IRNode .VECTOR_CAST_F2X , ">0" })
315324 public double [] convertFloatToDouble () {
316325 double [] res = new double [SIZE ];
0 commit comments