3-541
INSTRUCTION SET REFERENCE
PORBitwise Logical OR
Description
This instruction performs a bitwise logical OR operation on the quadword source (second) and
destination (first) operands and stores the result in the destination operand location (refer to
Figure 3-74). The source operand can be an MMX technology register or a quadword memory
location; the destination operand must be an MMX technology register. Each bit of the result
is made 0 if the corresponding bits of both operands are 0; otherwise the bit is set to 1.
Operation
DEST
<
DEST OR SRC;
Intel C/C++ Compiler Intrinsic Equivalent
Pre-4.0 Intel C/C++ Compiler intrinsic:
__m64 _m_por(__m64 m1, __m64 m2)
Version 4.0 and later Intel C/C++ Compiler intrinsic:
__m64 _mm_or_si64(__m64 m1, __m64 m2)
Perform a bitwise OR of the 64-bit value in m1 with the 64-bit value in m2.
Flags Affected
None.
Opcode
Instruction
Description
0F EB /r
POR mm, mm/m64OR quadword from mm/m64 to quadword in mm.
Figure 3-74. Operation of the POR Instruction.
POR mm, mm/m64
mm
mm/m64
mm
1111111111111000000000000000010110110101100010000111011101110111
0001000011011001010100000011000100011110111011110001010110010101
1111111111111001010100000011010110111111111011110111011111110111
3006024