Add x86_pblendw instruction

This instruction is necessary for lowering `fcvt_from_uint`.
This commit is contained in:
Andrew Brown
2020-05-26 14:12:25 -07:00
parent 546fc9ddf1
commit 772ce73f7f
5 changed files with 35 additions and 0 deletions

View File

@@ -96,6 +96,14 @@ block0:
return
}
;; blend
function %pblendw(b16x8, b16x8) {
block0(v0: b16x8 [%xmm10], v1: b16x8 [%xmm2]):
[-, %xmm10] v2 = x86_pblendw v0, v1, 0x55 ; bin: 66 44 0f 3a 0e d2 55
return
}
;; pack/unpack
function %unpack_high_i8x16(i8x16, i8x16) {