[Mono][Arm64] Instrinsify methods for Vector4 on Arm64 (#72124)
authorFan Yang <52458914+fanyang-mono@users.noreply.github.com>
Wed, 27 Jul 2022 17:17:06 +0000 (13:17 -0400)
committerGitHub <noreply@github.com>
Wed, 27 Jul 2022 17:17:06 +0000 (13:17 -0400)
commitc21ae04d923a1e5d2964fed61cc919571cce2efe
treeda17ea37e097ec8d04f91ad608e4c00b5d919c34
parenta92bd7262eb8fe7f2082430832fc35a2258a6338
[Mono][Arm64] Instrinsify methods for Vector4 on Arm64 (#72124)

* Initial change to enable intrinsics for Vector4 on arm64

* Fix return

* Add test app

* Also the makefile change

* Fix return type handling from vector to struct

* Fix wasm build failure

* Handle volatile argument

* Promote SIMD return to value

* Address review feedback and add intrinsify more methods

* Assign a NULL pointer to retval

* Remove unused local var

* Fix build warning
src/mono/mono/mini/mini-llvm.c
src/mono/mono/mini/mini-runtime.c
src/mono/mono/mini/simd-intrinsics.c