MMX

From OSDev.wiki
Revision as of 19:23, 28 February 2012 by osdev>Bellezzasolo (→‎Use today: One letter removed... very minor)
Jump to navigation Jump to search

MMX

Real numbers, coprocessors and vector units
Technical
X86 implementations
This page is a stub.
You can help the wiki by accurately adding more contents to it.

Introduction

MMX is a SIMD technology (single instruction, multiple data) introduced by Intel with ther P5 "Pentium" processor line.

Detection

To detect MMX

;Check CPUID.01h EDX.MMX (EDX.23)
mov eax, 0x1       ;0x.. is not needed, but standardizes
cpuid
test edx, 1<<23    ;EDX.MMX
jnz .MMX           ;If no jump MMX is not present

Use today

It is unlikely that you will come across any MMX code today, as it has been superceded by SSE, and compilers compile SSE code. However, it may be worthwile to be aware of MMX.

See Also

SSE

X87