On Wed, Dec 31, 2008 at 2:10 PM, Steven Van Ingelgem
<ste...@vaningelgem.be> wrote:

> I receive the following warnings (under MSVC 2005)
>
> kern\mmx\src\mmx_ind.c(348) : warning C4799: function 'MMX_anding' 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.
>
> Does anyone know a solution for this?

I seem to remember that there is a function somewhere that only calls
EMMS (called end_mmx or something similar). The idea is to call
several MMX functions in a row and only at the end call EMMS, which is
an expensive operation.

_______________________________________________
Mailing list: https://launchpad.net/~cuneiform
Post to     : cuneiform@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cuneiform
More help   : https://help.launchpad.net/ListHelp

Reply via email to