36#ifndef SIMD_BACKWARD_COMPAT_H_
37#define SIMD_BACKWARD_COMPAT_H_
66template <
typename T,
size_t SIMD_WIDTH_DEFAULT_NATIVE>
70template <
size_t NUM,
typename T,
size_t SIMD_WIDTH_DEFAULT_NATIVE>
74template <
typename T,
size_t SIMD_WIDTH_DEFAULT_NATIVE>
90template <
typename Tout,
typename Tin>
94template <
typename T,
size_t SIMD_WIDTH>
102template <
typename T,
size_t SIMD_WIDTH>
110template <
typename T,
size_t SIMD_WIDTH>
118template <
typename T,
size_t SIMD_WIDTH>
125template <
typename T,
size_t SIMD_WIDTH>
132template <
typename T,
size_t SIMD_WIDTH>
139template <
typename Tout,
typename Tin>
146template <
typename Tout,
typename Tin>
170template <
typename T,
size_t ALIGN>
SIMD mask class consisting of as many bits as the corresponding Vec has elements.
Definition vec.H:119
SIMD vector class, holds multiple elements of the same type.
Definition vec.H:75
void simd_aligned_free(void *ptr)
Definition backward_compat.H:163
void * simd_aligned_malloc(size_t alignment, size_t size)
Definition backward_compat.H:156
Aligned allocator.
Definition alloc.H:132
void * aligned_malloc(size_t alignment, size_t size)
Aligned memory allocation.
Definition alloc.H:61
void aligned_free(void *ptr)
Aligned memory deallocation.
Definition alloc.H:102
float Float
Single-precision floating point number (32-bit)
Definition types.H:56
int16_t Short
Signed 16-bit integer.
Definition types.H:53
int32_t Int
Signed 32-bit integer.
Definition types.H:54
uint16_t Word
Unsigned 16-bit integer.
Definition types.H:52
uint8_t Byte
Unsigned 8-bit integer.
Definition types.H:50
int8_t SignedByte
Signed 8-bit integer.
Definition types.H:51
static Vec< T, SIMD_WIDTH > bit_and(const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b)
Computes the bitwise AND of two Vec's.
Definition base.H:732
static Vec< T, SIMD_WIDTH > bit_xor(const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b)
Computes the bitwise XOR of two Vec's.
Definition base.H:776
static Vec< T, SIMD_WIDTH > bit_or(const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b)
Computes the bitwise OR of two Vec's.
Definition base.H:746
static Vec< T, SIMD_WIDTH > bit_not(const Vec< T, SIMD_WIDTH > &a)
Computes the bitwise NOT of a Vec.
Definition base.H:789
static constexpr size_t numInVecs()
Number of input vectors for functions that potentially change the size of the elements but not the nu...
Definition vec.H:201
static constexpr size_t numOutVecs()
Number of output vectors for functions that potentially change the size of the elements but not the n...
Definition vec.H:216
Alias for simd.
Definition backward_compat.H:185
Namespace for T-SIMD.
Definition time_measurement.H:161
Float SIMDFloat
Alias for Float.
Definition backward_compat.H:56
static Vec< T, SIMD_WIDTH > not_(const Vec< T, SIMD_WIDTH > &a)
Alias for bit_not().
Definition backward_compat.H:119
SIMDSignedByte * SIMDSignedBytePtr
Pointer to SIMDSignedByte.
Definition backward_compat.H:59
Word SIMDWord
Alias for Word.
Definition backward_compat.H:53
Vecs< NUM, T, SIMD_WIDTH > SIMDVecs
Alias for Vecs.
Definition backward_compat.H:71
SIMDInt * SIMDIntPtr
Pointer to SIMDInt.
Definition backward_compat.H:62
Int SIMDInt
Alias for Int.
Definition backward_compat.H:55
Byte SIMDByte
Alias for Byte.
Definition backward_compat.H:51
NumVecs< Tout, Tin > NumSIMDVecs
Alias for NumVecs.
Definition backward_compat.H:91
static T elem0(const Vec< T, SIMD_WIDTH > &a)
Alias for extract<0>().
Definition backward_compat.H:126
Short SIMDShort
Alias for Short.
Definition backward_compat.H:54
static constexpr size_t numInputSIMDVecs()
Alias for numInVecs().
Definition backward_compat.H:140
static Vec< T, SIMD_WIDTH > xor_(const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b)
Alias for bit_xor().
Definition backward_compat.H:111
SIMDFloat * SIMDFloatPtr
Pointer to SIMDFloat.
Definition backward_compat.H:63
static Vec< T, SIMD_WIDTH > and_(const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b)
Alias for bit_and().
Definition backward_compat.H:95
static Vec< T, SIMD_WIDTH > or_(const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b)
Alias for bit_or().
Definition backward_compat.H:103
static constexpr size_t numSIMDVecElements()
Alias for Vec<T, SIMD_WIDTH>::elems.
Definition backward_compat.H:133
SIMDWord * SIMDWordPtr
Pointer to SIMDWord.
Definition backward_compat.H:60
SIMDByte * SIMDBytePtr
Pointer to SIMDByte.
Definition backward_compat.H:58
static constexpr size_t numOutputSIMDVecs()
Alias for numOutVecs().
Definition backward_compat.H:147
SIMDShort * SIMDShortPtr
Pointer to SIMDShort.
Definition backward_compat.H:61
SignedByte SIMDSignedByte
Alias for SignedByte.
Definition backward_compat.H:52
Class for formatting SIMD types as decimal numbers.
Definition types.H:379
Type information for SIMD types.
Definition types.H:257