inline
 bool any() const
 {
     return _mm512_test_epi64_mask(
         _mm512_castpd_si512(val),
         _mm512_castpd_si512(val));
 }
 inline
 bool any() const
 {
     __m512d buf0 = _mm512_or_pd(val[ 0], val[ 1]);
     return _mm512_test_epi64_mask(
         _mm512_castpd_si512(buf0),
         _mm512_castpd_si512(buf0));
 }
 inline
 bool any() const
 {
     __m512 buf0 = _mm512_or_ps(val1, val2);
     return _mm512_test_epi64_mask(
         _mm512_castps_si512(buf0),
         _mm512_castps_si512(buf0));
 }
Ejemplo n.º 4
0
void extern
avx512f_test (void)
{
  m8 = _mm512_test_epi64_mask (x, x);
  m8 = _mm512_mask_test_epi64_mask (3, x, x);
}
Ejemplo n.º 5
0
KFR_SINTRIN bool bittestany(const i64avx512& x) { return _mm512_test_epi64_mask(*x, *x); }