From b7f8e09f4dd2d0244c81baa00c21809ffc80d1bd Mon Sep 17 00:00:00 2001 From: Vlad Brezae Date: Tue, 6 Aug 2024 12:28:59 +0300 Subject: [PATCH] [mono][llvm] Disable shuffle intrinsic Something seems to be wrong with llvm instruction emitting. --- src/mono/mono/mini/simd-intrinsics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mono/mono/mini/simd-intrinsics.c b/src/mono/mono/mini/simd-intrinsics.c index 47b1df99798cd7..44e7072def7135 100644 --- a/src/mono/mono/mini/simd-intrinsics.c +++ b/src/mono/mono/mini/simd-intrinsics.c @@ -2980,7 +2980,8 @@ emit_sri_vector (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsi return ins; } else { g_assert ((arg0_type == MONO_TYPE_I4) || (arg0_type == MONO_TYPE_U4)); - return emit_simd_ins_for_sig (cfg, klass, OP_SSE2_PSHUFD, 0, arg0_type, fsig, new_args); + return NULL; +// return emit_simd_ins_for_sig (cfg, klass, OP_SSE2_PSHUFD, 0, arg0_type, fsig, args); } } // There is no variable shuffle until avx512