A
TECHNICAL SEMINAR
ON
INTEL’S MMX TECHNOLOGY
FOR ENHANCED PROCESSOR
PERFORMANCE
--BY
NIKHIL
MUSHAM
INTRODUCTION




Intel’s MMX technology is designed to
accelerate multimedia and communications
applications.
It exploits the parallelism & maintains full
compatibility with existing operating systems
and applications.


The basis is Single Instruction, Multiple Data
(SIMD).


The technology includes:
 Four

new packed data types
 Enhanced Instruction Set
 Eight 64-bit wide MMX registers
 Compatibility
DATA TYPES
COMPATABILITY




No new registers or states are added to
support MMX technology.
Aliases to existing FP registers.
Fig :- MMX Register Set
INSTRUCTIONS


The MMX instructions cover several functional
areas including:
 Basic

arithmetic
 Comparison
 Conversion: pack & unpack
 Logical Operations
 Shift Operations
 Move: register-to-register
 Load/Store
Packed Add Word
•Each Addition is independent
•Rightmost overflows and wraps around
Example: Packed Add
Hexadecimal

Binary

FFFFh

1111 1111 1111 1111

8000h

1000 0000 0000 0000

7FFFh

0111 1111 1111 1111
Packed Parallel Compare
Pack/Unpack
Pack:
UnPack:
•Unpack low words into doublewords
b3 b2 b1 b0

a3 a2 a1 a0

b1 a1

b0 a0
APPLICATION EXAMPLES
1.Conditional Select


Chroma Keying example:
 It

demonstrates how conditional selection using
the MMX instruction set removes branch mispredictions, in addition to performing multiple
selection operations in parallel.
Create Mask
Assume pixels alternate green/not_green
Combine: !AND, AND, OR
Compare
Load
Multiply
Add
Misc
Store
Total

W/O MMX
32
16
12
8
4
72

WITH MMX
6
4
2
12
4
28

• MMX required less than one half the instructions.
CONCLUSION
•

•

The Intel MMX technology comprises a set of
instructions that are combined with SIMD
execution model to accelerate the
performance of applications such as motion
video, combined graphics with video, image
processing,2D and 3D graphics etc.
All existing softwares that don’t make use of
this technology will also run on the processor
without
modification.
INTEL’S MMX TECHNOLOGY FOR ENHANCED PROCESSOR

INTEL’S MMX TECHNOLOGY FOR ENHANCED PROCESSOR