United Business Media EE Times


Search

HOMEMARKET INTELLIGENCE UNITFORUMSDESIGNNEW PRODUCTSCAREERSBLOGSCONTACTEVENTSSIGN UP!RSSMost Popular contentTrusted Sources

 

Posted: 3:00 p.m., EST, 5/13/98

Apple ties Mac's future to AltiVec instructions


By Craig Matsumoto

SAN JOSE, Calif. — Apple Computer Inc. will use the AltiVec instruction set in Macintosh computers and expects to have AltiVec-enabled Macs for sale in the first half of next year, the company said at its Worldwide Developers Conference yesterday.

It it still unclear what effect these plans will have on Apple's relationship with IBM Corp., which will continue to develop PowerPC processors without AltiVec. Apple officials made it clear that AltiVec is a big part of the Macintosh's future — the Mac OS is even being altered to exploit the instructions.

Speaking at the conference's hardware keynote yesterday, senior vice president of hardware engineering Jon Rubinstein said Apple had spent two years assisting Motorola Inc. in developing AltiVec, which consists of 162 new PowerPC instructions that target multimedia applications and are optimized for MacOS native code.

"This is not some tacky little add-on to the chip," said Keith Diefendorff, director of processing architecture for Apple and the company's chief AltiVec architect. "This is a significant investment in transistors."

Company officials spoke to a largely supportive crowd at the conference. Many of the developers attending Diefendorff's session on the PowerPC's future developments were anxious to get their hands on development tools for AltiVec, and Diefendorff drew strong murmurs of approval when he hinted at some of the functiona lity that AltiVec could make possible, such as a software-based cellular phone inside a laptop computer.

Initially dubbed "VMX," for "vector multimedia extension," AltiVec adds an independent vector unit aside from the integer and floating-point units within a chip to provide a faster and wider path for multimedia-driven calculations. The vector unit has 32 registers of 128 bits each, and a dedicated 128-bit pipeline to memory, which is wider than the 64 bits that are available to the floating-point unit.

Apple hopes AltiVec goes beyond its multimedia roots and provides a speed boost to any algorithm that can take advantage of parallel processing. Apple has already tried this with several algorithms, and Diefendorff encouraged developers to do the same.

"The real speedup will be from people who go into their algorithms and rewrite them with vector [operations] in mind," he said. Apple itself will do some fine-tuning, and plans to tweak its MacOS and QuickTime Media Artchitecture to bet ter exploit AltiVec, he said.

Other advantages of AltiVec are more subtle. A PowerPC with the instructions will use no separate hardware for division or square roots, for example, and will instead do these calculations through a Newton-Raphson refinement based on a reciprocal estimate.

The instruction set compares extremely well to Intel Corp.'s much-publicized MMX instructions, Diefendorff said, because AltiVec provides more ambitious improvements to the CPU and adds a richer set of digital signal processing functions, he said. "AltiVec would blow MMX away on everything, and that's on top of the fact that a regular PowerPC blows away MMX on just about everything," Diefendorff said.

Using the cycle-accurate simulator that Apple is developing for AltiVec, the company has estimated that a 400-MHz AltiVec-ready PowerPC can perform 12.8 billion arithmentic operations per second and 6.4 billion additional byte-crossbar operations per second. In the floating-point realm, that same processor hits 2.3 gigaflops and 1.6 billion floating-point crossbar operations per second.

Diefendorff provided details on several of AltiVec's new instructions, the most intriguing of which is the "permute" function. Single-instruction, multiple data (SIMD) structures such as AltiVec traditionally require data to be organized in a certain way, Diefendorff said, and manipulating the data appropriately can take enough time to wipe out all of SIMD's speed advantages. AltiVec in a single command can re-permute each register, matching the data to SIMD's expectations; Diefendorff said this function can be useful in other ways as well, such as building ad hoc look-up tables for DSP functions.

AltiVec also features commands for "compare" and "select." The first does a Boolean element-by-element comparison between two registers; the second fills a third register based on the "compare" results. This is useful in graphics, for example, where "compare" can be used to determine holes in a shape, and "select" can t ell the PowerPC to fill in the appropriate background wherever such holes appear.

A feature called "data stream prefetch" can be used to load data for algorithms to use later, thus saving time to execute particularly complex algorithms. Up to four "prefetch" streams can be run at once.

A few AltiVec development tools are available now, and some require nondisclosure agreements. ,Apple plans to release a full suite of tools in the second half of this year. Questions on the instruction set are being fielded by Apple via e-mail.

  Go to This Week's News

  Free Subscription to EE Times
First Name Last Name
Company Name Title
Email address
  Click here for your Free Subscription to EETimes Europe
 
CAREER CENTER
Looking for a new job?
SEARCH JOBS
SPONSOR

RECENT JOB POSTINGS
CAREER NEWS
DoD Recognizes University Scientists For Basic Research
Annual awards to university faculty to conduct next-generation research projects were announced this week by the Defense Department.

For more great jobs, career related news, features and services, please visit EETimes' Career Center.


All White Papers »   

 
Education and
Learning


Learn Now:












Home | About | Editorial Calendar | Feedback | Subscriptions | Newsletter | Media Kit | Contact | Reprints|  RSS|   Digital|  Mobile
Network Websites
International
Network Features




All materials on this site Copyright © 2010 TechInsights, a Division of United Business Media LLC All rights reserved.
Privacy Statement | Terms of Service | About