28template <simd::simd_concept simd_t>
34template <simd::simd_concept simd_t>
40template <simd::simd_concept simd_t>
46template <simd::simd_concept target_simd_t, simd::simd_concept source_simd_t>
52template <simd::simd_concept target_simd_t, simd::simd_concept source_simd_t>
58template <u
int8_t index, simd::simd_concept simd_t>
64template <u
int8_t index, simd::simd_concept simd_t>
70template <u
int8_t index, simd::simd_concept simd_t>
84template <simd::simd_concept simd_t>
90template <simd::simd_concept simd_t>
96template <simd::simd_concept simd_t>
99 static_assert(simd_traits<simd_t>::length == simd_traits<simd_t>::max_length,
"Expects byte scalar type.");
105 constexpr std::array<char, 16> bit_reverse{0, 8, 4, 12, 2, 10, 6, 14, 1, 9, 5, 13, 3, 11, 7, 15};
115 for (
int i = 0;
i < 8; ++
i)
118 reinterpret_cast<__m128i &
>(matrix[2 *
i + 1]));
120 reinterpret_cast<__m128i &
>(matrix[2 *
i + 1]));
130 for (
int i = 0;
i < 8; ++
i)
147 for (
int i = 0;
i < 8; ++
i)
157 for (
int i = 0;
i < 8; ++
i)
164template <simd::simd_concept target_simd_t, simd::simd_concept source_simd_t>
167 if constexpr (simd_traits<source_simd_t>::length == 16)
169 if constexpr (simd_traits<target_simd_t>::length == 8)
171 if constexpr (simd_traits<target_simd_t>::length == 4)
173 if constexpr (simd_traits<target_simd_t>::length == 2)
176 else if constexpr (simd_traits<source_simd_t>::length == 8)
178 if constexpr (simd_traits<target_simd_t>::length == 4)
180 if constexpr (simd_traits<target_simd_t>::length == 2)
185 static_assert(simd_traits<source_simd_t>::length == 4,
"Expected 32 bit scalar type.");
190template <simd::simd_concept target_simd_t, simd::simd_concept source_simd_t>
193 if constexpr (simd_traits<source_simd_t>::length == 16)
195 if constexpr (simd_traits<target_simd_t>::length == 8)
197 if constexpr (simd_traits<target_simd_t>::length == 4)
199 if constexpr (simd_traits<target_simd_t>::length == 2)
202 else if constexpr (simd_traits<source_simd_t>::length == 8)
204 if constexpr (simd_traits<target_simd_t>::length == 4)
206 if constexpr (simd_traits<target_simd_t>::length == 2)
211 static_assert(simd_traits<source_simd_t>::length == 4,
"Expected 32 bit scalar type.");
216template <u
int8_t index, simd::simd_concept simd_t>
222template <u
int8_t index, simd::simd_concept simd_t>
228template <u
int8_t index, simd::simd_concept simd_t>
Provides seqan3::detail::builtin_simd, seqan3::detail::is_builtin_simd and seqan3::simd::simd_traits<...
Provides intrinsics include for builtin simd.
Defines the requirements of a matrix (e.g. score matrices, trace matrices).
Definition matrix_concept.hpp:52
The internal SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
void transpose_matrix_sse4(std::array< simd_t, simd_traits< simd_t >::length > &matrix)
Transposes the given simd vector matrix.
constexpr simd_t extract_eighth_sse4(simd_t const &src)
Extracts one eighth of the given simd vector and stores it in the lower eighth of the target vector.
constexpr simd_t extract_half_sse4(simd_t const &src)
Extracts one half of the given simd vector and stores the result in the lower half of the target vect...
constexpr target_simd_t upcast_signed_sse4(source_simd_t const &src)
Upcasts the given vector into the target vector using signed extension of packed values.
constexpr void store_sse4(void *mem_addr, simd_t const &simd_vec)
Store simd_t size bits of integral data into memory.
constexpr target_simd_t upcast_unsigned_sse4(source_simd_t const &src)
Upcasts the given vector into the target vector using unsigned extension of packed values.
constexpr simd_t extract_quarter_sse4(simd_t const &src)
Extracts one quarter of the given simd vector and stores it in the lower quarter of the target vector...
constexpr simd_t load_sse4(void const *mem_addr)
Load simd_t size bits of integral data from memory.
constexpr auto const & get(configuration< configs_t... > const &config) noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition configuration.hpp:412
Provides seqan3::simd::simd_traits.
seqan3::simd::simd_traits is the trait class that provides uniform interface to the properties of sim...
Definition simd_traits.hpp:38
Provides seqan3::simd::simd_concept.