Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.46 KB

vec8.md

File metadata and controls

21 lines (16 loc) · 1.46 KB

sd::vec8_ (type family)

Defined in header <simdee/vec8.hpp>

sd::vec8_ is an architecture-independent type family of vectors that contain 8 scalars.

type width scalar_t satisfies concepts
sd::vec8b 8 sd::bool32_t SIMDVector, SIMDVectorB
sd::vec8f 8 float SIMDVector, SIMDVectorF
sd::vec8u 8 std::uint32_t SIMDVector, SIMDVectorU
sd::vec8s 8 std::int32_t SIMDVector, SIMDVectorS

The vec8 family is an alias for another type family, based on supported instruction sets:

type if avx is supported otherwise
sd::vec8b is an alias for sd::avxb sd::dual<sd::vec4b>
sd::vec8f is an alias for sd::avxf sd::dual<sd::vec4f>
sd::vec8u is an alias for sd::avxu sd::dual<sd::vec4u>
sd::vec8s is an alias for sd::avxs sd::dual<sd::vec4s>