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