[wasm] Simd refactoring (#84170)
authorRadek Doulik <radek.doulik@gmail.com>
Wed, 5 Apr 2023 11:16:13 +0000 (13:16 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2023 11:16:13 +0000 (13:16 +0200)
commit6114f1932e14269e5a23e201c4c58b091bbdf6af
tree4be4b364cd55d37dc84a5699dbd5bdf875adf9d5
parent5711ca33f8dd1758e18c09ebdedf7e95eb424e0f
[wasm] Simd refactoring (#84170)

* [wasm] Simd refactoring

Rename few opcodes to contain `_SIMD_`.

Use more SimdIntrinsic fields to simplify the code.

* Fix build

* Fix narrowing intrinsics

* Verbose aot compilation

* Feedback

* Make it verbose on helix

* Do not set op for narrowing methods

Because `emit_hardware_intrinsics` doesn't call custom emit in such case
and so we endup with code emitted with wrong zero c0.

* Feedback

* Be quiet again :-)
src/mono/mono/mini/mini-llvm.c
src/mono/mono/mini/mini-ops.h
src/mono/mono/mini/simd-intrinsics.c
src/mono/wasm/build/WasmApp.Native.targets