Skip to content

Commit 93d73d1

Browse files
authored
Disable SIMD intrinsics for Vector128/64 on Arm64 (#77406)
1 parent a92811f commit 93d73d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,11 @@ emit_sri_vector (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsi
11111111
if (!COMPILE_LLVM (cfg))
11121112
return NULL;
11131113

1114+
#ifdef TARGET_ARM64
1115+
if (!(cfg->compile_aot && cfg->full_aot && !cfg->interp))
1116+
return NULL;
1117+
#endif
1118+
11141119
int id = lookup_intrins (sri_vector_methods, sizeof (sri_vector_methods), cmethod);
11151120
if (id == -1) {
11161121
//check_no_intrinsic_cattr (cmethod);

0 commit comments

Comments
 (0)