This commit goes through the `runtests` folder of the `filetests` test suite and ensure that everything which uses simd or float-related instructions on x64 is executed with the baseline support for x86_64 in addition to adding in AVX support. Most of the instructions used have AVX equivalents so this should help test all of the equivalents in addition to the codegen filetests in the x64 folder.
20 lines
446 B
Plaintext
20 lines
446 B
Plaintext
test run
|
|
set enable_llvm_abi_extensions
|
|
set enable_simd
|
|
target x86_64
|
|
target x86_64 has_avx
|
|
|
|
; Regression test for unaligned loads to xmm registers when relying on automatic
|
|
; conversion to XmmMem arguments in ISLE.
|
|
; https://github.com/bytecodealliance/wasmtime/issues/4761
|
|
function %a() -> f64 {
|
|
ss0 = explicit_slot 59
|
|
|
|
block0:
|
|
v0 = f64const 0x1.d7d7d7d7d006fp984
|
|
v1 = fcopysign v0, v0
|
|
return v1
|
|
}
|
|
|
|
; run: %a() == 0x1.d7d7d7d7d006fp984
|