|
Mjolnir Core
Core functionality of the Mjolnir API
|
Contains functions to quickly sum up all elements of a vector register or an array of vector registers. More...
#include "mjolnir/core/x86/definitions.h"#include "mjolnir/core/x86/intrinsics.h"#include "mjolnir/core/x86/permutation.h"#include "mjolnir/core/x86/x86.h"

Go to the source code of this file.
Functions | |
| template<FloatVectorRegister T_RegisterType> | |
| auto | broadcast_element_sum (T_RegisterType src) noexcept -> T_RegisterType |
Calculate the sum of all elements of src, broadcast it into a new register and return the result. More... | |
| template<FloatVectorRegister T_RegisterType> | |
| auto | element_sum (T_RegisterType src) noexcept -> ElementType< T_RegisterType > |
Return the sum of all elements from src. More... | |
| template<UST t_num_elements, FloatVectorRegister T_RegisterType> | |
| auto | element_sum_first_n (T_RegisterType src) noexcept -> ElementType< T_RegisterType > |
Return the sum of the first t_num_elements elements from src. More... | |
Contains functions to quickly sum up all elements of a vector register or an array of vector registers.