mtoint.gml

来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 34 行

GML
34
字号
.func _m_to_int
#include <mmintrin.h>
int   _m_to_int(__m64 *__m);
.funcend
.desc begin
The &func function returns the low-order 32 bits of a multimedia value.
.desc end
.return begin
The low-order 32 bits of a multimedia value are fetched and returned
as the result.
.return end
.see begin
.im seemmfun &function.
.see end
.exmp begin
#include <stdio.h>
#include <mmintrin.h>

__m64   b = { 0x0123456789abcdef };

int     j;

void main()
  {
    j = _m_to_int( b );
    printf( "m=%16.16Lx int=%8.8lx\n",
            b, j );
  }
.exmp output
m=0123456789abcdef int=89abcdef
.exmp end
.class Intel
.system

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?