All Macs In-Depth Tests
 
Books & Buyer's Guides

Information Hubs




Other Product Information




Site Supporters

Apple iPhone Prices At ...
Apple Store
Canada Apple Store
Cingular Wireless
iPhone InfoZone

Using the links above supports MacReviewZone!


send this page

Send to a friend

News Feed

Mailing list ...List information...


Latest Discussion Threads

MacSpeedZone Gift Shop

AltiVec (G4) Compared to MMX


Motorola's AltiVec Technology, embodied in the G4 processor, expands the current PowerPC architecture through addition of a 128-bit vector execution unit, which operates concurrently with existing integer and floating-point units. This provides for highly parallel operations, allowing for simultaneous execution of up to 16 operations in a single clock cycle.

 


This new approach expands the processor's capabilities to concurrently address high-bandwidth data processing (such as streaming video) and the algorithmic intensive computations which today are handled off-chip by other devices, such as graphics, audio, and modem functions.

The AltiVec instruction set allows operation on multiple bits within the 128-bit wide registers. This combination of new instructions, operation in parallel on multiple bits, and wider registers, provide speed enhancements of up to 30x on operations that are common in media processing.

Key elements of Motorola's AltiVec technology include:
  • 128-bit vector execution unit
  • Parallel processing
  • 162 new instructions
  • Vector permute unit


How Does AltiVec Compare with MMX?

The table below summarizes the differences between AltiVec and MMX. Any algorithm adapted for MMX can be ported directly to AltiVec, since MMX is a proper subset of AltiVec. However, the design of AltiVec allows superior adaptation of algorithms due to its data manipulation instructions and lack of context switching requirement.


High level Structural Overview for PowerPC
With AltiVec Technology




System using multiple PowerPC processors with AltiVec
technology, sharing a common bus bridge to shared memory


AltiVec

MMX

32 separate registers

8 registers, shares with FPU

128-bit per register

64-bits per register

more than 160 new instructions

57 new instructions

native floating-point data types

None

no interference with scalar FP registers

stalls the FP registers

no context or mode switching

context switching required (20-40 cycle hit)

References: Apple Computer, Motorola

For more information visit our G4 information Page



Top of page

Recent Additions

Dashboard Icon Check out our new dashboard widget tracking site updates and providing quick access to key areas of MacSpeedZone and MacReviewZone!

Reader Specials

firefox Firefox Search Plugins - search this site and others from within Firefox!

HandHelditems.com - Personalize your iPod with us. Shop hundreds of unique iPod accessories and save up to 80%.

Apple Store Apple Store - The size of a pack of gum, iPod shuffle weighs less than a car key. Which means there’s nowhere your skip-free iPod shuffle can’t go. Click Here


Home New & Old Macs Upgrades Performance Machine Specs Opinions Buyer's Guides MacReviewZone

Copyright 1996-2007 by Cider Press Publishing LLC all rights reserved. MacSpeedZone is not authorized, sponsored, or otherwise approved by Apple Computer. Apple, the Apple logo, Macintosh, iPod, iBook, iMac, eMac, and PowerBook are registered trademarks of Apple Computer, Inc. Additional company and product names may be trademarks or registered trademarks and are hereby acknowledged.