AltiVec

related topics
{system, computer, user}
{math, number, function}
{company, market, business}

AltiVec is a floating point and integer SIMD instruction set designed and owned by Apple, IBM and Freescale Semiconductor, formerly the Semiconductor Products Sector of Motorola, (the AIM alliance), and implemented on versions of the PowerPC including Motorola's G4, IBM's G5 and POWER6 processors, and P.A. Semi's PWRficient PA6T. AltiVec is a trademark owned solely by Freescale, so the system is also referred to as Velocity Engine by Apple and VMX by IBM and P.A. Semi, although IBM has recently begun using AltiVec as well.

While AltiVec refers to an instruction set, the implementations in CPUs produced by IBM and Motorola are separate in terms of logic design. To date, no IBM core has included an AltiVec logic design licensed from Motorola or vice-versa.

AltiVec is a standard part of the new Power ISA v.2.03[1] specification. It was never formally a part of the PowerPC architecture until this specification although it used PowerPC instruction formats and syntax and occupied the opcode space expressly allocated for such purposes.

Contents

Features and comparison to x86-64 Streaming SIMD Extensions

Both AltiVec and SSE feature 128-bit vector registers that can represent sixteen 8-bit signed or unsigned chars, eight 16-bit signed or unsigned shorts, four 32-bit ints or four 32-bit floating point variables. Both provide cache-control instructions intended to minimize cache pollution when working on streams of data.

They also exhibit important differences. Unlike SSE2, AltiVec supports a special RGB "pixel" data type, but it does not operate on 64-bit double precision floats, and there is no way to move data directly between scalar and vector registers. In keeping with the "load/store" model of the PowerPC's RISC design, the vector registers, like the scalar registers, can only be loaded from and stored to memory. However, AltiVec provides a much more complete set of "horizontal" operations that work across all the elements of a vector; the allowable combinations of data type and operations are much more complete. Thirty-two 128-bit vector registers are provided, compared to eight for SSE and SSE2 (extended to 16 in x86-64), and most AltiVec instructions take three register operands compared to only two register/register or register/memory operands on IA-32.

Full article ▸

related documents
Chmod
Fourth-generation programming language
Java Servlet
ReiserFS
Ext2
Priority queue
CPAN
Z-buffering
Wikipedia:Free On-line Dictionary of Computing/E - H
Amdahl's law
Enterprise Objects Framework
Zope
Machine code
Talker
Queueing theory
Parrot virtual machine
DEFLATE
Object Linking and Embedding
GNU Privacy Guard
Wikipedia:Free On-line Dictionary of Computing/L - N
Maple (software)
Byte
Rsync
Locality of reference
MMX (instruction set)
Microsoft Access
ACID
Simula
Event-driven programming
Ada (programming language)