Skip to content

Commit

Permalink
Disable SIMD intrinsics for Vector128/64 on Arm64 (#77443)
Browse files Browse the repository at this point in the history
Co-authored-by: Fan Yang <[email protected]>
  • Loading branch information
github-actions[bot] and fanyang-mono authored Nov 3, 2022
1 parent 3cda7e8 commit 9ef8273
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mono/mono/mini/simd-intrinsics.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,11 @@ emit_sri_vector (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsi
if (!COMPILE_LLVM (cfg))
return NULL;

#ifdef TARGET_ARM64
if (!(cfg->compile_aot && cfg->full_aot && !cfg->interp))
return NULL;
#endif

int id = lookup_intrins (sri_vector_methods, sizeof (sri_vector_methods), cmethod);
if (id == -1) {
//check_no_intrinsic_cattr (cmethod);
Expand Down

0 comments on commit 9ef8273

Please sign in to comment.