Function core::arch::mips::__msa_ftq_h

source ·
pub unsafe fn __msa_ftq_h(a: v4f32, b: v4f32) -> v8i16
🔬This is a nightly-only experimental API. (stdarch_mips #111198)
Available on (MIPS or MIPS-64) and target feature msa and MIPS only.
Expand description

Vector Floating-Point Convert to Fixed-Point

The elements in vector a (four 32-bit floating point numbers) and b (four 32-bit floating point numbers) are down-converted to a fixed-point representation, i.e. from 64-bit floating-point to 32-bit Q31 fixed-point representation, or from 32-bit floating-point to 16-bit Q15 fixed-point representation. The result is written to vector (eight signed 16-bit integer numbers).