Skip to content

Commit

Permalink
Remove the specialized handling for importing V128.Shuffle as AdvSimd…
Browse files Browse the repository at this point in the history
….ExtractVector128
  • Loading branch information
tannergooding committed Jul 23, 2024
1 parent 2995754 commit d05673f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/mono/mono/mini/simd-intrinsics.c
Original file line number Diff line number Diff line change
Expand Up @@ -2703,20 +2703,6 @@ emit_sri_vector (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsi
}
MonoInst *new_args[3];
new_args [0] = args [0];
if (COMPILE_LLVM (cfg)) {
if ((get_xconst_int_elem (cfg, args [1], MONO_TYPE_U8, 0) == 0x300000002) &&
(get_xconst_int_elem (cfg, args [1], MONO_TYPE_U8, 1) == 0x100000000)) {
etype = m_class_get_byval_arg (mono_defaults.uint64_class);
klass = create_class_instance ("System.Runtime.Intrinsics", "Vector128`1", etype);
new_args [1] = args [0];
EMIT_NEW_ICONST (cfg, new_args [2], 1);
MonoInst* ins = emit_simd_ins (cfg, klass, OP_ARM64_EXT, new_args [0]->dreg, new_args [1]->dreg);
ins->inst_c0 = 0;
ins->inst_c1 = MONO_TYPE_U8;
ins->sreg3 = new_args [2]->dreg;
return ins;
}
}
int esize = mono_class_value_size (mono_class_from_mono_type_internal (etype), NULL);
int ecount = (vector_size / 8) / esize;
guint64 value = 0;
Expand Down

0 comments on commit d05673f

Please sign in to comment.