Developer Guide and Reference

Contents

Logical Operators

The following table lists the logical operators of the Fvec classes and generic syntax. The logical operators for
F32vec1
classes use only the lower 32 bits.
Fvec Logical Operators Return Value Mapping
Bitwise Operation
Operators
Generic Syntax
AND
&
&=
R = A & B;
R &= A;
OR
|
|=
R = A | B;
R |= A;
XOR
^
^=
R = A ^ B;
R ^= A;
andnot
andnot
R = andnot(A);
The following table lists standard logical operators syntax and corresponding intrinsics. Note that there is no corresponding scalar intrinsic for the
F32vec1
classes, which accesses the lower 32 bits of the packed vector intrinsics.
Logical Operations for Fvec Classes