Files
wasmtime/cranelift/filetests/filetests/isa/x86/raw_bitcast.clif
Andrew Brown 61772e9775 Add raw_bitcast instruction
Casts bits as a different type of the same width with no change to the data (unlike bitcast)
2019-07-16 17:07:44 -07:00

11 lines
228 B
Plaintext

test binemit
target x86_64
function %test_raw_bitcast_i16x8_to_b32x4() {
ebb0:
[-, %rbx] v0 = bconst.b16 true
[-, %xmm2] v1 = scalar_to_vector.b16x8 v0
[-, %xmm2] v2 = raw_bitcast.i32x4 v1 ; bin:
return
}