Essential support for MMX.
Files "MMX.h" and "MMX.cpp" implement basic routines for supporting the MMX instructions on x86. Future instruction sets for other processors may be supported in this file as well.Macro MMX is defined if the compiler supports the X86-MMX instructions. It does not mean however that the processor supports the instruction set. Variable MMXControl::mmxflag must be used to decide whether MMX. instructions can be executed. MMX instructions are entered in the middle of C++ code using the following macros. Examples can be found in "IWTransform.cpp".
- MMXrr( insn, srcreg, dstreg)
- Encode a register to register MMX instruction (e.g. paddw or punpcklwd).
- MMXar( insn, addr, dstreg )
- Encode a memory to register MMX instruction (e.g. moveq from memory).
- MMXra( insn, srcreg, addr )
- Encode a register to memory MMX instruction (e.g. moveq to memory).
- MMXir( insn, imm, dstreg )
- Encode a immediate to register MMX instruction (e.g psraw).
- MMXemms
- Execute the EMMS instruction to reset the FPU state.
Alphabetic index Hierarchy of classes