# Intrinsics for Packed Test Operations

Parent topic: Intrinsics for Intel® Advanced Vector Extensions

- _mm256_testz_si256
  Performs a packed bit test of two integer vectors to set the ZF flag. The corresponding Intel® AVX instruction is VPTEST.
- _mm256_testc_si256
  Performs a packed bit test of two integer vectors to set the CF flag. The corresponding Intel® AVX instruction is VPTEST.
- _mm256_testnzc_si256
  Performs a packed bit test of two integer vectors to set ZF and CF flags. The corresponding Intel® AVX instruction is VPTEST.
- _mm256_testz_pd, _mm_testz_pd
  Performs a packed bit test of two float64 256-bit or 128-bit vectors to set the ZF flag. The corresponding Intel® AVX instruction is VTESTPD.
- _mm256_testz_ps, _mm_testz_ps
  Performs a packed bit test of two float32 256-bit or 128-bit vectors to set the ZF flag. The corresponding Intel® AVX instruction is VTESTPS.
- _mm256_testc_pd, _mm_testc_pd
  Performs a packed bit test of two 256-bit or 128-bit float64 vectors to set the CF flag. The corresponding Intel® AVX instruction is VTESTPD.
- _mm256_testc_ps, _mm_testc_ps
  Performs a packed bit test of two 256-bit or 128-bit float32 vectors to set the CF flag. The corresponding Intel® AVX instruction is VTESTPS.
- _mm256_testnzc_pd, _mm_testnzc_pd
  Performs a packed bit test of two 256-bit float64 or 128-bit float64 vectors to check ZF and CF flag settings. The corresponding Intel® AVX instruction is VTESTPD.
- _mm256_testnzc_ps, _mm_testnzc_ps
  Performs a packed bit test of two 256-bit or 128-bit float32 vectors to check ZF and CF flag settings. The corresponding Intel® AVX instruction is VTESTPS.