Cranelift: ensure ISA level needed for SIMD is present when SIMD is enabled. (#3816)

Addresses #3809: when we are asked to create a Cranelift backend with
shared flags that indicate support for SIMD, we should check that the
ISA level needed for our SIMD lowerings is present.
This commit is contained in:
Chris Fallin
2022-02-16 17:29:30 -08:00
committed by GitHub
parent ef17a36852
commit 1c014d129a
55 changed files with 172 additions and 84 deletions

View File

@@ -1,7 +1,7 @@
test verifier
set enable_simd=true
target aarch64
target x86_64
target x86_64 has_sse3 has_ssse3 has_sse41
function %scalar_to_vector() {
block0:

View File

@@ -1,7 +1,7 @@
test verifier
set enable_simd
target aarch64
target x86_64
target x86_64 has_sse3 has_ssse3 has_sse41
function %insertlane_i32x4() {
block0: