Skip to content

Commit d05673f

Browse files
committed
Remove the specialized handling for importing V128.Shuffle as AdvSimd.ExtractVector128
1 parent 2995754 commit d05673f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/mono/mono/mini/simd-intrinsics.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,20 +2703,6 @@ emit_sri_vector (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsi
27032703
}
27042704
MonoInst *new_args[3];
27052705
new_args [0] = args [0];
2706-
if (COMPILE_LLVM (cfg)) {
2707-
if ((get_xconst_int_elem (cfg, args [1], MONO_TYPE_U8, 0) == 0x300000002) &&
2708-
(get_xconst_int_elem (cfg, args [1], MONO_TYPE_U8, 1) == 0x100000000)) {
2709-
etype = m_class_get_byval_arg (mono_defaults.uint64_class);
2710-
klass = create_class_instance ("System.Runtime.Intrinsics", "Vector128`1", etype);
2711-
new_args [1] = args [0];
2712-
EMIT_NEW_ICONST (cfg, new_args [2], 1);
2713-
MonoInst* ins = emit_simd_ins (cfg, klass, OP_ARM64_EXT, new_args [0]->dreg, new_args [1]->dreg);
2714-
ins->inst_c0 = 0;
2715-
ins->inst_c1 = MONO_TYPE_U8;
2716-
ins->sreg3 = new_args [2]->dreg;
2717-
return ins;
2718-
}
2719-
}
27202706
int esize = mono_class_value_size (mono_class_from_mono_type_internal (etype), NULL);
27212707
int ecount = (vector_size / 8) / esize;
27222708
guint64 value = 0;

0 commit comments

Comments
 (0)