Intel® C++ Compiler 16.0 User and Reference Guide
Returns an integer scalar value of a bitwise AND operation. There is no corresponding instruction. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).
Without Mask extern int __cdecl _mm512_reduce_and_epi32(_m512i v2); |
With Mask extern int __cdecl _mm512_mask_reduce_and_epi32(__mmask16 k1, _m512i v2); |
v2 |
extended packed integer vector used for the bitwise AND operation |
k1 |
Writemask; only those elements of the source vectors with corresponding bit set to '1' in the k1 mask are computed and stored in the result |
Performs a bitwise AND of consecutive elements of the integer vector v2 and returns a final value. The bitwise AND operation is illustrated as follows:
v[0] & v[1] & v[2] & ...& v[n] = scalar value
The masked variant has one additional argument: k1. Only those elements in the source registers with the corresponding bit set in vector mask k1 are used for computing. Elements in v2 with corresponding bit clear in k1 are copied as is to the resulting vector.
Returns the scalar value of the bitwise AND operation.