Function core::arch::arm::__sel

source ·
pub unsafe fn __sel(a: int8x4_t, b: int8x4_t) -> int8x4_t
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on ARM only.
Expand description

根据 APSR GE 标志从每个操作数中选择字节

返回等价于

res[0] = GE[0] ? a[0] : b[0] res[1] = GE[1] ? a[1] : b[1] res[2] = GE[2] ? a[2] : b[2] res[3] = GE[3] ? a[3] : b[3]

GE 是 APSR 的位