Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Mac Desktops > 128 bit vector engine

128 bit vector engine
Thread Tools
OldRocketGuy
Fresh-Faced Recruit
Join Date: Aug 2006
Location: Corinth, Texas
Status: Offline
Reply With Quote
Aug 10, 2006, 10:07 PM
 
A 128 bit vector engine was mentioned in the keynote on Monday. It was said to be a replacement for the AltiVec on the old architecture. Is this vector engine part of Intel's Woodcrest CPU or support chip? Or is it Apple proprietary silicon added to the quad architecture? I have not seen any discussion about this feature.
     
Tomchu
Mac Elite
Join Date: Sep 2005
Status: Offline
Reply With Quote
Aug 10, 2006, 10:08 PM
 
That would simply be SSE/SSE2/SSE3.
     
OldRocketGuy  (op)
Fresh-Faced Recruit
Join Date: Aug 2006
Location: Corinth, Texas
Status: Offline
Reply With Quote
Aug 11, 2006, 07:54 AM
 
Thanks, I found the Intel architecture document that explained it.
     
Simon
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Aug 11, 2006, 07:59 AM
 
Speaking of SSE3, do we have reason to believe Apple has gone through their code (OS, iApps, pro apps) and made sure the Intel code is optimized for SSE3 just as the PPC code is for Altivec? Or are we not yet seeing the full SSE3 benefits because the code was optimized for Altivec in the past?
     
OreoCookie
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
Aug 11, 2006, 08:32 AM
 
SSE seems to be harder to program than AltiVec -- which was one of the reasons why it was so successful in speeding up certain operations, like encoding videos or mp3s. The SSE units are also used for fp operations by default.
I don't suffer from insanity, I enjoy every minute of it.
     
Tomchu
Mac Elite
Join Date: Sep 2005
Status: Offline
Reply With Quote
Aug 11, 2006, 02:27 PM
 
A good enough compiler should be able to vectorize to a decent extent whatever code is vectorizable. I'm not sure what kind of work Apple/Intel have done on GCC 4 in this regard.
     
OreoCookie
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
Aug 11, 2006, 02:53 PM
 
The Gnu compiler suite does autovectorization for both, PPC and x86 cpus. Other compilers might do a better job, though. However, to really get optimal performance, you have to tweak the code by hand. This is particularly beneficial for audio and video encoding, complex scientific calculations and pretty much anything where a relatively small part of the code uses up a lot of computation time.
I don't suffer from insanity, I enjoy every minute of it.
     
Don Pickett
Professional Poster
Join Date: Mar 2000
Location: New York, NY, USA
Status: Offline
Reply With Quote
Aug 11, 2006, 06:30 PM
 
I was under the impression that one of the reasons Apple was introducing the Core frameworks (CoreAudio, Video, etc.) was to allow performance which equalled that of AltiVec-enhanced code without needing the AltiVec code. Fr'example, CoreVideo dumps most of its processing to the video card, etc.
The era of anthropomorphizing hardware is over.
     
mduell
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Aug 11, 2006, 06:42 PM
 
I would hope Apple is using ICC for the OS and high performance apps... or at least flogging/helping Intel to port it if it hasn't been ported yet.
     
milhous
Mac Elite
Join Date: Sep 2000
Location: Millersville, PA
Status: Offline
Reply With Quote
Aug 11, 2006, 06:48 PM
 
would there be any incentives/advantages for apple to just use the intel compiler over GCC?
F = ma
     
Don Pickett
Professional Poster
Join Date: Mar 2000
Location: New York, NY, USA
Status: Offline
Reply With Quote
Aug 11, 2006, 11:23 PM
 
Originally Posted by milhous
would there be any incentives/advantages for apple to just use the intel compiler over GCC?
I believe that, because it's Intel's compiler it optimized for their chips very well.
The era of anthropomorphizing hardware is over.
     
mduell
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Aug 12, 2006, 12:22 AM
 
Originally Posted by milhous
would there be any incentives/advantages for apple to just use the intel compiler over GCC?
Yes. Plenty of benchmarks on google to demonstrate that.
     
OldRocketGuy  (op)
Fresh-Faced Recruit
Join Date: Aug 2006
Location: Corinth, Texas
Status: Offline
Reply With Quote
Aug 12, 2006, 08:21 AM
 
There are some key math libraries that are used by many scientific, engineering and statistical applications that would probably greatly improve performance if they were compiled with tweaks and available in Xcode. I'm thinking about stuff like the BLAS, LAPACK, FFTW and such. It would make the Mac Pro an even bigger winner than it already is.

It would behoove Apple to make this available. I'm sure that shops such as Los Alamos and Livermore will do this sort of work for their own benefit. Given that they are government shops, such code should be Open Source and available to all.
     
OreoCookie
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
Aug 12, 2006, 08:54 AM
 
You can always compile them yourself. The main reason Apple uses GCC and not some other compiler is to keep cross-platform compatibility. Apple didn't just keep a copy of OS X running on x86 hardware to switch to x86 cpus, but to keep cross-platform compatibility -- so they could have switched to any platform.

Since Apple needs to support PowerPCs for at least five or six more years from now, they need to stick to gcc for now. Also, who knows what will happen in 5 or 10 years from now? Being able to port the OS to another cpu architecture is a good thing. Everybody who needs to optimize certain libraries, they are available either as source code or highly optimized (for money).
I don't suffer from insanity, I enjoy every minute of it.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 07:30 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,