Lines Matching defs:base16_numeric
834 struct base16_numeric: base16<T> { struct
835 static simdutf_really_inline simd16<T> splat(T _value) { return vmovq_n_u16(_value); } in splat()
836 static simdutf_really_inline simd16<T> zero() { return vdupq_n_u16(0); } in zero()
837 static simdutf_really_inline simd16<T> load(const T values[8]) { in load()
841 simdutf_really_inline base16_numeric() : base16<T>() {} in base16_numeric() argument
842 simdutf_really_inline base16_numeric(const uint16x8_t _value) : base16<T>(_value) {} in base16_numeric() function
845 simdutf_really_inline void store(T dst[8]) const { return vst1q_u16(dst, *this); } in store()
848 simdutf_really_inline simd16<T> operator~() const { return *this ^ 0xFFu; } in operator ~()
851 …f_really_inline simd16<T> operator+(const simd16<T> other) const { return vaddq_u8(*this, other); } in operator +()
852 …f_really_inline simd16<T> operator-(const simd16<T> other) const { return vsubq_u8(*this, other); } in operator -()
853 …operator+=(const simd16<T> other) { *this = *this + other; return *static_cast<simd16<T>*>(this); } in operator +=()
854 …operator-=(const simd16<T> other) { *this = *this - other; return *static_cast<simd16<T>*>(this); } in operator -=()
2107 struct base16_numeric: base16<T> { struct
2108 static simdutf_really_inline simd16<T> splat(T _value) { return _mm256_set1_epi16(_value); } in splat()
2109 static simdutf_really_inline simd16<T> zero() { return _mm256_setzero_si256(); } in zero()
2110 static simdutf_really_inline simd16<T> load(const T values[8]) { in load()
2114 simdutf_really_inline base16_numeric() : base16<T>() {} in base16_numeric() function
2115 simdutf_really_inline base16_numeric(const __m256i _value) : base16<T>(_value) {} in base16_numeric() function
2118 …void store(T dst[8]) const { return _mm256_storeu_si256(reinterpret_cast<__m256i *>(dst), *this); } in store()
2121 simdutf_really_inline simd16<T> operator~() const { return *this ^ 0xFFFFu; } in operator ~()
2124 …_inline simd16<T> operator+(const simd16<T> other) const { return _mm256_add_epi16(*this, other); } in operator +()
2125 …_inline simd16<T> operator-(const simd16<T> other) const { return _mm256_sub_epi16(*this, other); } in operator -()
2126 …operator+=(const simd16<T> other) { *this = *this + other; return *static_cast<simd16<T>*>(this); } in operator +=()
2127 …operator-=(const simd16<T> other) { *this = *this - other; return *static_cast<simd16<T>*>(this); } in operator -=()
3056 struct base16_numeric: base16<T> { struct
3057 static simdutf_really_inline simd16<T> splat(T _value) { return _mm_set1_epi16(_value); } in splat()
3058 static simdutf_really_inline simd16<T> zero() { return _mm_setzero_si128(); } in zero()
3059 static simdutf_really_inline simd16<T> load(const T values[8]) { in load()
3063 simdutf_really_inline base16_numeric() : base16<T>() {} in base16_numeric() argument
3064 simdutf_really_inline base16_numeric(const __m128i _value) : base16<T>(_value) {} in base16_numeric() argument
3067 …ne void store(T dst[8]) const { return _mm_storeu_si128(reinterpret_cast<__m128i *>(dst), *this); } in store()
3070 simdutf_really_inline simd16<T> operator~() const { return *this ^ 0xFFu; } in operator ~()
3073 …lly_inline simd16<T> operator+(const simd16<T> other) const { return _mm_add_epi16(*this, other); } in operator +()
3074 …lly_inline simd16<T> operator-(const simd16<T> other) const { return _mm_sub_epi16(*this, other); } in operator -()
3075 …operator+=(const simd16<T> other) { *this = *this + other; return *static_cast<simd16<T>*>(this); } in operator +=()
3076 …operator-=(const simd16<T> other) { *this = *this - other; return *static_cast<simd16<T>*>(this); } in operator -=()