Annotate noexcept and constexpr with HEDLEY, and add interval containment, ChaCha, and the dyadic range tables.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
875f09fec1
commit
0d8a5a8131
97 changed files with 9212 additions and 1159 deletions
|
|
@ -75,10 +75,12 @@ HEDLEY_PRAGMA(GCC diagnostic pop)
|
|||
static constexpr auto left_shift = simde_mm256_slli_epi64;
|
||||
static constexpr auto right_shift = simde_mm256_srli_epi64;
|
||||
static constexpr auto bit_and = simde_mm256_and_si256;
|
||||
HEDLEY_NO_THROW
|
||||
static auto get_mask() noexcept
|
||||
{
|
||||
return simde_mm256_set1_epi64x(1);
|
||||
}
|
||||
HEDLEY_NO_THROW
|
||||
static simde_array build_vecs(const word_type * cur_word, std::size_t nwords) noexcept
|
||||
{
|
||||
return { loadu_word_vec(cur_word, nwords, 0) };
|
||||
|
|
@ -104,10 +106,12 @@ HEDLEY_PRAGMA(GCC diagnostic pop)
|
|||
static constexpr auto left_shift = simde_mm256_slli_epi64;
|
||||
static constexpr auto right_shift = simde_mm256_srli_epi64;
|
||||
static constexpr auto bit_and = simde_mm256_and_si256;
|
||||
HEDLEY_NO_THROW
|
||||
static auto get_mask() noexcept
|
||||
{
|
||||
return simde_mm256_set1_epi32(1);
|
||||
}
|
||||
HEDLEY_NO_THROW
|
||||
static simde_array build_vecs(const typename dpf::bit_array_base<ChildT>::word_type * cur_word,
|
||||
std::size_t nwords) noexcept
|
||||
{
|
||||
|
|
@ -149,10 +153,12 @@ HEDLEY_PRAGMA(GCC diagnostic pop)
|
|||
static constexpr auto left_shift = simde_mm256_slli_epi64;
|
||||
static constexpr auto right_shift = simde_mm256_srli_epi64;
|
||||
static constexpr auto bit_and = simde_mm256_and_si256;
|
||||
HEDLEY_NO_THROW
|
||||
static auto get_mask() noexcept
|
||||
{
|
||||
return simde_mm256_set1_epi16(1);
|
||||
}
|
||||
HEDLEY_NO_THROW
|
||||
static simde_array build_vecs(const typename dpf::bit_array_base<ChildT>::word_type * cur_word,
|
||||
std::size_t nwords) noexcept
|
||||
{
|
||||
|
|
@ -215,10 +221,12 @@ HEDLEY_PRAGMA(GCC diagnostic pop)
|
|||
static constexpr auto left_shift = simde_mm256_slli_epi64;
|
||||
static constexpr auto right_shift = simde_mm256_srli_epi64;
|
||||
static constexpr auto bit_and = simde_mm256_and_si256;
|
||||
HEDLEY_NO_THROW
|
||||
static auto get_mask() noexcept
|
||||
{
|
||||
return simde_mm256_set1_epi8(1);
|
||||
}
|
||||
HEDLEY_NO_THROW
|
||||
static simde_array build_vecs(const typename dpf::bit_array_base<ChildT>::word_type * cur_word,
|
||||
std::size_t nwords) noexcept
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue