← Back to team overview

cuneiform team mailing list archive

MMX compilation at MSVC2005

 

Hi all,


I receive the following warnings (under MSVC 2005)

kern\mmx\src\mmx_ind.c(348) : warning C4799: function 'MMX_anding' has no
EMMS instruction
kern\mmx\src\mmx_ind.c(364) : warning C4799: function 'MMX_open' has no EMMS
instruction
kern\mmx\src\mmx_r35.c(131) : warning C4799: function 'MMX_scalar16_' has no
EMMS instruction
kern\mmx\src\mmx_r35.c(147) : warning C4799: function 'MMX_open_image' has
no EMMS instruction


*The reason following MSDN is:*

The function has at least one MMX instruction, but does not have an EMMS
instruction. When a multimedia instruction is used, an EMMS instruction
should also be used to clear the multimedia tag word at the end of the MMX
code. For more information on EMMS instructions, see Guidelines for When to
Use EMMS <http://msdn.microsoft.com/en-us/library/ays9ef83.aspx>.

Does anyone know a solution for this?


Thanks,
Steven

Follow ups