Gentoo Archives: gentoo-ppc-user

From: David Holm <dholm@g.o>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] AltiVec (ppc) vs SSE (x86) according to Apple
Date: Wed, 29 Jun 2005 11:53:20
Message-Id: 200506291353.18291.dholm@gentoo.org
1 Hello gang,
2 Matt Sealey posted some interesting links in his blog
3 (http://likerabbits.blogspot.com/2005/06/apples-and-oranges.html) that I
4 thought I'd share with you. First there are some articles posted by Apple on
5 differences between AltiVec on the PowerPC and SSE on x86. I think it's
6 interesting that they post these articles because all they do is show how bad
7 SSE really is compared to AltiVec.
8 Finally there is a link to the MacSTL developer's site where he shows some
9 benchmarks on performance between AltiVec on a G5 vs SSE on a P4. He draws
10 some pretty interesting conclusions.
11
12 For those of you who doesn't want to visit Matt's blog I have put the actual
13 links here. If you decide to spread the word give credit to Matt and not me.
14 Differences in Instruction Architectures:
15 http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_vector/chapter_6_section_3.html#//apple_ref/doc/uid/TP40002217-//apple_ref/doc/uid/TP40002217-CH208-253725-TPXREF159
16 Aligning data:
17 http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_vector/chapter_6_section_3.html#//apple_ref/doc/uid/TP40002217-//apple_ref/doc/uid/TP40002217-CH208-258042-CJBBAJBD
18 Intrinsics equivalents (note how most AltiVec instructions translate into two
19 or more SSE instructions, or in the worst case do not have an equivalent at
20 all):
21 http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_equiv_a/chapter_8_section_2.html#//apple_ref/doc/uid/TP40002217-CH212-263166
22
23 MacSTL benchmarks:
24 http://www.pixelglow.com/stories/macintel-faster-than-altivec/
25
26 //David Holm
27
28 P.S. Don't forget to click "Yes" at the bottom of the article(s) and let Apple
29 know what you think ;) D.S.