Function padhigh¶
function padhigh(const vec<T, N> &) simd¶
template <size_t Ncount, typename T, size_t N>
KFR_INTRINSIC vec<T, N + Ncount> padhigh(const vec<T, N>& x) Pads x with Ncount zero-initialized lanes on the high side.
| Ncount | Number of lanes to append. |
| T | Element type of the vector. |
| N | Input vector length. |
| x | Source vector. |
A vector of length N + Ncount with the appended lanes zeroed. |
Fully qualified name: kfr::padhigh(const vec<T, N> &)
Declared at simd/shuffle.hpp:284
Function padhigh¶
function padhigh(const vec<T, N> &, std::type_identity_t<T>) simd¶
template <size_t Ncount, typename T, size_t N>
KFR_INTRINSIC vec<T, N + Ncount> padhigh(const vec<T, N>& x, std::type_identity_t<T> newvalue) Pads x with Ncount copies of newvalue on the high side.
| Ncount | Number of lanes to append. |
| T | Element type of the vector. |
| N | Input vector length. |
| x | Source vector. |
| newvalue | Value to fill the appended lanes with. |
A vector of length N + Ncount with the appended lanes set to newvalue. |
Fully qualified name: kfr::padhigh(const vec<T, N> &, std::type_identity_t<T>)
Declared at simd/shuffle.hpp:298
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.