Files
wasmtime/cranelift/filetests/filetests/isa/x86/vconst-rodata.clif
2019-09-19 10:53:40 -07:00

20 lines
397 B
Plaintext

test rodata
set enable_simd=true
target x86_64 haswell
function %test_vconst_i32() -> i32x4 {
ebb0:
v0 = vconst.i32x4 0x1234
return v0
}
; sameln: [34, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
function %test_vconst_b16() -> b16x8 {
ebb0:
v0 = vconst.b16x8 [true false true false true false true true]
return v0
}
; sameln: [1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0]