20 lines
397 B
Plaintext
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]
|