Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <mmintrin.h>
    __m64 _m_pandn(__m64 *m1, __m64 *m2);

Description:
    A bit-wise logical AND is performed on the logical inversion of 64-bit
    multimedia operand m1 and 64-bit multimedia operand m2 and the result is
    stored in memory.

Returns:
    The bit-wise logical AND of an inverted 64-bit value and a non-inverted
    value is returned.

Example:
    #include <stdio.h>
    #include <mmintrin.h>

    #define AS_QWORD "%16.16Lx"

    __m64   a;
    __m64   b = { 0x0123456789abcdef };
    __m64   c = { 0xfedcba9876543210 };

    void main()
      {
        a = _m_pandn( b, c );
        printf( "m1="AS_QWORD"\n"
                "m2="AS_QWORD"\n"
                "mm="AS_QWORD"\n",
                b, c, a );
      }

    produces the following:

    m1=0123456789abcdef
    m2=fedcba9876543210
    mm=fedcba9876543210

Classification:
    Intel

Systems:
    MACRO

See Also:
    _m_empty, _m_pand, _m_por, _m_pxor

See Also: _m_empty _m_pand

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson