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_psllq(__m64 *m, __m64 *count);

Description:
    The 64-bit quad-word in m is shifted to the left by the scalar shift
    count in count.  The low-order bits are filled with zeros.  The shift
    count is interpreted as unsigned.  Shift counts greater than 63 yield
    all zeros.

Returns:
    Shift left the 64-bit quad-word in m by an amount specified in count
    while shifting in zeros.

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

    #define AS_QWORD "%16.16Lx"

    __m64   a;
    __m64   b = { 0x3f04800300020001 };
    __m64   c = { 0x0000000000000002 };

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

    produces the following:

    m1=3f04800300020001
    m2=0000000000000002
    mm=fc12000c00080004

Classification:
    Intel

Systems:
    MACRO

See Also:
    _m_empty, _m_pslld, _m_pslldi, _m_psllqi, _m_psllw, _m_psllwi

See Also: _m_empty _m_pslld

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