Skip to content

Commit

Permalink
Enable emitting intrinsics for System.Numerics.Vector<T> on arm64 (do…
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang-mono authored Mar 11, 2022
1 parent d7b0e21 commit 30c2cdc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mono/mono/mini/simd-intrinsics.c
Original file line number Diff line number Diff line change
Expand Up @@ -3694,6 +3694,10 @@ mono_emit_simd_intrinsics (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSign
if (!strcmp (class_ns, "System.Numerics") && !strcmp (class_name, "Vector")){
return emit_sri_vector (cfg, cmethod, fsig, args);
}

if (!strcmp (class_ns, "System.Numerics") && !strcmp (class_name, "Vector`1")){
return emit_vector64_vector128_t (cfg, cmethod, fsig, args);
}
#endif // defined(TARGET_ARM64)

return emit_simd_intrinsics (class_ns, class_name, cfg, cmethod, fsig, args);
Expand Down

0 comments on commit 30c2cdc

Please sign in to comment.