Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
763 B

//-----------------------------------------------------------------------------
//
// This file contains headers for routines that emulate MMX instructions.
//
// Copyright (C) Microsoft Corporation, 1997.
//
//-----------------------------------------------------------------------------
// union for playing with 16 bit multiplies
typedef union tagVAL32 {
INT32 i;
struct {
INT16 l;
INT16 h;
} i16;
} VAL32;
UINT16 MMX_addsw(INT16 x, INT16 y);
INT16 MMX_addusw(UINT16 x, UINT16 y);
UINT16 MMX_cmpeqw(INT16 x, INT16 y);
UINT16 MMX_cmpgtw(INT16 x, INT16 y);
INT16 MMX_mulhw(INT16 x, INT16 y);
INT16 MMX_mullw(INT16 x, INT16 y);
INT16 MMX_subsw(INT16 x, INT16 y);
UINT16 MMX_subusw(UINT16 x, UINT16 y);