@@ -218,10 +218,10 @@ simdjson_really_inline int8x16_t make_int8x16_t(int8_t x1, int8_t x2, int8_t x
218
218
simdjson_really_inline simd8<uint8_t >& operator -=(const simd8<uint8_t > other) { *this = *this - other; return *this ; }
219
219
220
220
// Order-specific operations
221
- simdjson_really_inline uint8_t max () const { return vmaxvq_u8 (*this ); }
222
- simdjson_really_inline uint8_t min () const { return vminvq_u8 (*this ); }
223
- simdjson_really_inline simd8<uint8_t > max (const simd8<uint8_t > other) const { return vmaxq_u8 (*this , other); }
224
- simdjson_really_inline simd8<uint8_t > min (const simd8<uint8_t > other) const { return vminq_u8 (*this , other); }
221
+ simdjson_really_inline uint8_t max_val () const { return vmaxvq_u8 (*this ); }
222
+ simdjson_really_inline uint8_t min_val () const { return vminvq_u8 (*this ); }
223
+ simdjson_really_inline simd8<uint8_t > max_val (const simd8<uint8_t > other) const { return vmaxq_u8 (*this , other); }
224
+ simdjson_really_inline simd8<uint8_t > min_val (const simd8<uint8_t > other) const { return vminq_u8 (*this , other); }
225
225
simdjson_really_inline simd8<bool > operator <=(const simd8<uint8_t > other) const { return vcleq_u8 (*this , other); }
226
226
simdjson_really_inline simd8<bool > operator >=(const simd8<uint8_t > other) const { return vcgeq_u8 (*this , other); }
227
227
simdjson_really_inline simd8<bool > operator <(const simd8<uint8_t > other) const { return vcltq_u8 (*this , other); }
@@ -233,7 +233,7 @@ simdjson_really_inline int8x16_t make_int8x16_t(int8_t x1, int8_t x2, int8_t x
233
233
234
234
// Bit-specific operations
235
235
simdjson_really_inline simd8<bool > any_bits_set (simd8<uint8_t > bits) const { return vtstq_u8 (*this , bits); }
236
- simdjson_really_inline bool any_bits_set_anywhere () const { return this ->max () != 0 ; }
236
+ simdjson_really_inline bool any_bits_set_anywhere () const { return this ->max_val () != 0 ; }
237
237
simdjson_really_inline bool any_bits_set_anywhere (simd8<uint8_t > bits) const { return (*this & bits).any_bits_set_anywhere (); }
238
238
template <int N>
239
239
simdjson_really_inline simd8<uint8_t > shr () const { return vshrq_n_u8 (*this , N); }
@@ -375,8 +375,8 @@ simdjson_really_inline int8x16_t make_int8x16_t(int8_t x1, int8_t x2, int8_t x
375
375
simdjson_really_inline simd8<int8_t >& operator -=(const simd8<int8_t > other) { *this = *this - other; return *this ; }
376
376
377
377
// Order-sensitive comparisons
378
- simdjson_really_inline simd8<int8_t > max (const simd8<int8_t > other) const { return vmaxq_s8 (*this , other); }
379
- simdjson_really_inline simd8<int8_t > min (const simd8<int8_t > other) const { return vminq_s8 (*this , other); }
378
+ simdjson_really_inline simd8<int8_t > max_val (const simd8<int8_t > other) const { return vmaxq_s8 (*this , other); }
379
+ simdjson_really_inline simd8<int8_t > min_val (const simd8<int8_t > other) const { return vminq_s8 (*this , other); }
380
380
simdjson_really_inline simd8<bool > operator >(const simd8<int8_t > other) const { return vcgtq_s8 (*this , other); }
381
381
simdjson_really_inline simd8<bool > operator <(const simd8<int8_t > other) const { return vcltq_s8 (*this , other); }
382
382
simdjson_really_inline simd8<bool > operator ==(const simd8<int8_t > other) const { return vceqq_s8 (*this , other); }
0 commit comments