x64: Add non-SSE 4.1 lowerings for v{all,any}_true (#6232)

This commit adds lowerings to the x64 backend for two more CLIF
instructions that currently require SSE 4.1. These lowerings are
inspired by LLVM's lowerings and avoid the use of SSE 4.1 instructions.
This commit is contained in:
Alex Crichton
2023-04-20 16:56:59 -05:00
committed by GitHub
parent 60e4a00413
commit a2a38edd8a
4 changed files with 48 additions and 11 deletions

View File

@@ -1,10 +1,11 @@
test interpret
test run
target x86_64 has_sse41=false
set enable_simd
target aarch64
target s390x
target x86_64
target x86_64 has_avx
target x86_64 sse41
target x86_64 sse41 has_avx
function %vall_true_i8x16(i8x16) -> i8 {
block0(v0: i8x16):

View File

@@ -1,10 +1,11 @@
test interpret
test run
target x86_64 has_sse41=false
set enable_simd
target aarch64
target s390x
target x86_64
target x86_64 has_avx
target x86_64 sse41
target x86_64 sse41 has_avx
function %vany_true_i8x16(i8x16) -> i8 {
block0(v0: i8x16):