core::arch::mips::__msa_ftq_h - Rust
Description: API documentation for the Rust `__msa_ftq_h` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, __msa_ftq_h

# [−][src]Function core::arch::mips::__msa_ftq_h

    pub unsafe fn __msa_ftq_h(a: v4f32, b: v4f32) -> v8i16

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on MIPS and target feature `msa` only.

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).