Files
wasmtime/cranelift/filetests/filetests/runtests/x64-xmm-mem-align-bug.clif
Alex Crichton dd7fa81b20 x64: Run more filetests with AVX support (#6063)
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.
2023-03-20 19:13:14 +00:00

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