Function core::arch::mips64::__msa_hadd_s_d
source · pub unsafe fn __msa_hadd_s_d(a: v4i32, b: v4i32) -> v2i64🔬This is a nightly-only experimental API. (
stdsimd #48556)Available on (MIPS or MIPS-64) and target feature
msa and MIPS-64 only.Expand description
Vector Signed Horizontal Add
The sign-extended odd elements in vector a (four signed 32-bit integer numbers)
are added to the sign-extended even elements in vector b (four signed 32-bit integer numbers)
producing a result twice the size of the input operands.
The result is written to vector (two signed 64-bit integer numbers).