Add x86 SIMD band
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
test binemit
|
||||
set enable_simd
|
||||
target x86_64 skylake
|
||||
|
||||
function %bor_b16x8(b16x8, b16x8) -> b16x8 {
|
||||
ebb0(v0: b16x8 [%xmm2], v1: b16x8 [%xmm1]):
|
||||
[-, %xmm2] v2 = bor v0, v1 ; bin: 66 0f eb d1
|
||||
return v2
|
||||
}
|
||||
|
||||
function %band_b64x2(b64x2, b64x2) -> b64x2 {
|
||||
ebb0(v0: b64x2 [%xmm6], v1: b64x2 [%xmm3]):
|
||||
[-, %xmm6] v2 = band v0, v1 ; bin: 66 0f db f3
|
||||
return v2
|
||||
}
|
||||
Reference in New Issue
Block a user