Please enter what you're looking for to continue your search
 

_mm512_andnot_ps
ADD TO COMPARE ADDED TO COMPARE

 Intel 64-bit (64 bits)/ AVX512  View official documentation
 Location: Boolean Logic & Bit Manipulation  >  Boolean AND NOT
 CPU Extensions: AVX512DQ
Purpose:
Compute the bitwise NOT of packed single-precision (32-bit) floating-point elements in "a" and then AND with "b", and store the results in "dst".
Result:

__m512

Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
 __m512 a = _mm512_set1_ps(-0.0f);
 __m512 b = _mm512_set1_ps(1.23f);
 __m512 result = _mm512_andnot_ps(a, b);
 float output[16];
 _mm512_storeu_ps(output, result);
 for (int i = 0; i < 16; i++) {
   printf("%f\n", output[i]);
  }

  return 0;
 }

Prototypes

Assembly Instruction:
vandnps
Usage:
__m512 result = _mm512_andnot_ps( __m512 a, __m512 b )
Performance Metrics:
📊 Unlock Performance Insights

Get access to detailed performance metrics including latency, throughput, and CPU-specific benchmarks for this intrinsic.

SIMD Intrinsics Summary
SIMD Engines: 6
C Intrinsics: 10444
NEON: 4353
AVX2: 405
AVX512: 4717
SSE4.2: 598
VSX: 192
IBM-Z: 179