Download Intel(R) C++ Compiler for Linux* Systems User's Guide
Transcript
Assignment Operator Any Ivec object can be assigned to any other Ivec object; conversion on assignment from one Ivec object to another is automatic. Assignment Operator Examples Is16vec4 A; Is8vec8 B; I64vec1 C; A = B; /* assign Is8vec8 to Is16vec4 */ B = C; /* assign I64vec1 to Is8vec8 */ B = A & C; /* assign M64 result of '&' to Is8vec8 */ Logical Operators The logical operators use the symbols and intrinsics listed in the following table. Bitwise Operation Operator Symbols Syntax Usage Corresponding Intrinsic Standard w/assign Standard w/assign AND & &= R=A&B R &= A _mm_and_si64 _mm_and_si128 OR | |= R=A|B R |= A _mm_and_si64 _mm_and_si128 XOR ^ ^= R = A^B R ^= A _mm_and_si64 _mm_and_si128 ANDNOT andnot N/A R=A andnot B N/A _mm_and_si64 _mm_and_si128 Logical Operators and Miscellaneous Exceptions. A and B converted to M64. Result assigned to Iu8vec8. I64vec1 A; Is8vec8 B; Iu8vec8 C; C = A & B; Same size and signedness operators return the nearest common ancestor. I32vec2 R = Is32vec2 A ^ Iu32vec2 B; A&B returns M64, which is cast to Iu8vec8. C = Iu8vec8(A&B)+ C; When A and B are of the same class, they return the same type. When A and B are of different classes, the return value is the return type of the nearest common ancestor. The logical operator returns values for combinations of classes, listed in the following tables, apply when A and B are of different classes. 344
Related documents
Intel(R) C++ Compiler for Linux* Systems User's Guide
Intel® Fortran Compiler for Linux* Systems User's Guide
PGI User's Guide
PGI Compiler Reference Manual
Intel Fortran Compiler for Linux* Systems User's Guide
Software Structure and Portability of the Fiasco Microkernel
INSTRUCTIONS 取扱説明書
PGI User's Guide
Stellaris LM3S9D96 Development Kit User`s Manual
PGI User's Guide Release 9.0 - Faculty of Science HPC Site
PGI User's Guide - The University of Sheffield High Performance and
corso di programmazione microcontrollori -