|
Mjolnir Core
Core functionality of the Mjolnir API
|
Contains math functions for vector registers. More...
#include "mjolnir/core/x86/definitions.h"#include "mjolnir/core/x86/comparison.h"#include "mjolnir/core/x86/intrinsics.h"#include <cassert>

Go to the source code of this file.
Functions | |
| template<FloatVectorRegister T_RegisterType> | |
| auto | abs (T_RegisterType src) noexcept -> T_RegisterType |
| Return a new register with the absolute values of the input register. More... | |
| template<bool t_all_mag_positive = false, FloatVectorRegister T_RegisterType> | |
| auto | copy_sign (T_RegisterType src_magnitude, T_RegisterType src_sign) noexcept -> T_RegisterType |
Return a new register consisting of the magnitudes from src_magnitude and the signs of src_sign. More... | |
| template<FloatVectorRegister T_RegisterType> | |
| auto | negate_all (T_RegisterType src) noexcept -> T_RegisterType |
| Return a new register with the negated elements of the source register. More... | |
| template<bool... t_neg, FloatVectorRegister T_RegisterType> | |
| auto | negate_selected (T_RegisterType src) noexcept -> T_RegisterType |
| Return a copy of the source register with the selected elements being negated. More... | |
Contains math functions for vector registers.