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_from_int(int i);

Description:
    The _m_from_int function forms a 64-bit MM value from an unsigned 32-bit
    integer value.

Returns:
    The 64-bit result of loading MM0 with an unsigned 32-bit integer value
    is returned.

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

    __m64   a;

    int     k = 0xF1F2F3F4;

    void main()
      {
        a = _m_from_int( k );
        printf( "int=%8.8lx m=%8.8lx%8.8lx\n",
            k, a._32[1], a._32[0] );

      }

    produces the following:

    int=f1f2f3f4 m=00000000f1f2f3f4

Classification:
    Intel

Systems:
    MACRO

See Also:
    _m_empty, _m_to_int, _m_packsswb, _m_paddb, _m_pand, _m_empty,
    _m_pcmpeqb, _m_pmaddwd, _m_psllw, _m_psraw, _m_psrlw, _m_empty,
    _m_psubb, _m_punpckhbw

See Also: _m_empty _m_to_int

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