|
|
128 bit vector engine
|
|
|
|
Fresh-Faced Recruit
Join Date: Aug 2006
Location: Corinth, Texas
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2005
Status:
Offline
|
|
That would simply be SSE/SSE2/SSE3.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Aug 2006
Location: Corinth, Texas
Status:
Offline
|
|
Thanks, I found the Intel architecture document that explained it.
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status:
Offline
|
|
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?
|
•
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2005
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Mar 2000
Location: New York, NY, USA
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Location: Millersville, PA
Status:
Offline
|
|
would there be any incentives/advantages for apple to just use the intel compiler over GCC?
|
F = ma
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Mar 2000
Location: New York, NY, USA
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Aug 2006
Location: Corinth, Texas
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
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 Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|