Intel® C++ Compiler 16.0 User and Reference Guide

_mm512_kortestz

Performs a bitwise OR operation between two vector masks and sets ZF flag. Corresponding instruction is KORTEST. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

Syntax

extern int __cdecl _mm512_kortestz(__mmask16 k1, __mmask16 k2);  

Parameters

k1

vector mask

k2

vector mask

Description

Performs a bitwise OR operation between vector masks k2 and k1. If the result of the operation is all zeros (0), the ZF flag is set, otherwise not.

Returns

Returns a non-zero value if ZF flag is set (when both k1 and k2 are zero). Otherwise, '0' is returned.