Stops an algorithm from aligning its accesses.
Variables | |
| constexpr auto | eve::algo::no_aligning = ::rbr::flag( no_aligning_tag{} ) |
|
inlineconstexpr |
#include <eve/module/algo.hpp>Disables the alignment of memory accesses. By default a partial first register is read so that every following register is at an aligned address, and the loads are faster. With the trait the loop is started at the first element and the accesses are not aligned, which is cheaper on a short range, where the partial register is not repaid.