Class struct_with_alignment¶
class struct_with_alignment<T, A> simd¶
template <typename T, bool A>
struct struct_with_alignment { … } Wrapper exposing a member of type T with the requested alignment.
The aligned specialization is used to obtain a pointer with guaranteed alignment for SIMD load/store operations; the unaligned specialization is packed.
| T | Member type. |
| A | When true the member is over-aligned; when false the struct is packed. |
typedef pointer ¶
using pointer = struct_with_alignment* Pointer to this wrapper type.
Fully qualified name: kfr::struct_with_alignment<T, A>::pointer
Declared at simd/types.hpp:646
typedef const_pointer ¶
using const_pointer = const struct_with_alignment* Const pointer to this wrapper type.
Fully qualified name: kfr::struct_with_alignment<T, A>::const_pointer
Declared at simd/types.hpp:648
variable value ¶
T value The wrapped value.
Fully qualified name: kfr::struct_with_alignment<T, A>::value
Declared at simd/types.hpp:650
function operator=(T) ¶
Assigns a new value to the wrapped member.
Fully qualified name: kfr::struct_with_alignment<T, A>::operator=(T)
Declared at simd/types.hpp:652
Fully qualified name: kfr::struct_with_alignment<T, A>
Declared at simd/types.hpp:643
Class struct_with_alignment¶
class struct_with_alignment<T, false> simd¶
template <typename T>
struct struct_with_alignment<T, false> { … } Packed, unaligned specialization of struct_with_alignment.
typedef pointer ¶
using pointer = struct_with_alignment* Pointer to this wrapper type.
Fully qualified name: kfr::struct_with_alignment<T, false>::pointer
Declared at simd/types.hpp:662
typedef const_pointer ¶
using const_pointer = const struct_with_alignment* Const pointer to this wrapper type.
Fully qualified name: kfr::struct_with_alignment<T, false>::const_pointer
Declared at simd/types.hpp:664
variable value ¶
T value The wrapped value.
Fully qualified name: kfr::struct_with_alignment<T, false>::value
Declared at simd/types.hpp:666
function operator=(T) ¶
Assigns a new value to the wrapped member.
Fully qualified name: kfr::struct_with_alignment<T, false>::operator=(T)
Declared at simd/types.hpp:668
Fully qualified name: kfr::struct_with_alignment<T, false>
Declared at simd/types.hpp:659