VCTR
Loading...
Searching...
No Matches
vctr::expressions::ClampByConstant< extent, SrcType, LowerBound, UpperBound > Class Template Reference
Inheritance diagram for vctr::expressions::ClampByConstant< extent, SrcType, LowerBound, UpperBound >:
vctr::ExpressionTemplateBase

Public Types

using value_type = ValueType< SrcType >
 

Public Member Functions

VCTR_FORCEDINLINE constexpr value_type operator[] (size_t i) const
 
VCTR_FORCEDINLINE VCTR_TARGET ("avx") void prepareAVXEvaluation() const
 
VCTR_FORCEDINLINE VCTR_TARGET ("avx2") void prepareAVXEvaluation() const
 
VCTR_FORCEDINLINE VCTR_TARGET ("fma") AVXRegister< value_type > getAVX(size_t i) const
 
VCTR_FORCEDINLINE VCTR_TARGET ("avx2") AVXRegister< value_type > getAVX(size_t i) const
 
VCTR_FORCEDINLINE VCTR_TARGET ("sse4.1") void prepareSSEEvaluation() const
 
VCTR_FORCEDINLINE VCTR_TARGET ("sse4.1") SSERegister< value_type > getSSE(size_t i) const
 
void prepareNeonEvaluation () const
 
NeonRegister< value_type > getNeon (size_t i) const
 
VCTR_FORCEDINLINE const value_type * evalNextVectorOpInExpressionChain (value_type *dst) const
 
VCTR_FORCEDINLINE const value_type * evalNextVectorOpInExpressionChain (value_type *dst) const
 

Static Public Attributes

static constexpr value_type lowerBound = LowerBound::value
 
static constexpr value_type upperBound = UpperBound::value
 
static constexpr bool clampLow = ! is::disabledConstant<LowerBound>
 
static constexpr bool clampHigh = ! is::disabledConstant<UpperBound>
 
static constexpr bool supportsSIMDMinMax = Expression::CommonElement::isRealFloat || Expression::CommonElement::isInt32 || Expression::CommonElement::isUint32
 All SIMD register types offer min and max for these types.
 

Member Data Documentation

◆ supportsSIMDMinMax

template<size_t extent, class SrcType , is::constant LowerBound, is::constant UpperBound>
constexpr bool vctr::expressions::ClampByConstant< extent, SrcType, LowerBound, UpperBound >::supportsSIMDMinMax = Expression::CommonElement::isRealFloat || Expression::CommonElement::isInt32 || Expression::CommonElement::isUint32
staticconstexpr

All SIMD register types offer min and max for these types.


The documentation for this class was generated from the following file: