BMI2 pext not-emulation in Singeli
This commit is contained in:
parent
1314859a80
commit
871a81ca5f
@ -127,4 +127,6 @@ fn pext{T & hasarch{'PCLMUL'} & T==u64}(xs:T, ms:T) {
|
|||||||
extract{x, 0}
|
extract{x, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn pext{T & hasarch{'BMI2'}}(x:T, m:T) = pext{x, m}
|
||||||
|
|
||||||
export{'si_pext_u64', pext{u64}}
|
export{'si_pext_u64', pext{u64}}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user