Skip to content

Commit 2550d6c

Browse files
committed
Make sure AsVector2 uses the corresponding intrinsic
1 parent aa6c16f commit 2550d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mono/mono/mini/interp/transform-simd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ emit_sri_vector128 (TransformData *td, MonoMethod *cmethod, MonoMethodSignature
463463
case SN_AsVector2: {
464464
if ((vector_size == 8) && (arg_size == 16)) {
465465
simd_opcode = MINT_SIMD_INTRINS_P_PP;
466-
simd_intrins = INTERP_SIMD_INTRINSIC_V128_AS_V3;
466+
simd_intrins = INTERP_SIMD_INTRINSIC_V128_AS_V2;
467467
break;
468468
}
469469
return FALSE;

0 commit comments

Comments
 (0)