Re: MMX/3Dnow!/SSE/SSE2 compilers

Allan Sandfeld Jensen <snowwolf@diku.dk>
12 May 2002 00:02:41 -0400

          From comp.compilers

Related articles
[5 earlier articles]
Re: MMX/3Dnow!/SSE/SSE2 compilers jgd@cix.co.uk (2002-04-29)
Re: MMX/3Dnow!/SSE/SSE2 compilers jacob@jacob.remcomp.fr (jacob navia) (2002-05-01)
Re: MMX/3Dnow!/SSE/SSE2 compilers a.richards@codeplay.com (Andrew Richards) (2002-05-01)
Re: MMX/3Dnow!/SSE/SSE2 compilers cparpart@surakware.net (Christian Parpart) (2002-05-03)
Re: MMX/3Dnow!/SSE/SSE2 compilers marcov@toad.stack.nl (Marco van de Voort) (2002-05-04)
Re: MMX/3Dnow!/SSE/SSE2 compilers a.richards@codeplay.com (Andrew Richards) (2002-05-08)
Re: MMX/3Dnow!/SSE/SSE2 compilers snowwolf@diku.dk (Allan Sandfeld Jensen) (2002-05-12)
Re: MMX/3Dnow!/SSE/SSE2 compilers jacob@jacob.remcomp.fr (jacob navia) (2002-05-23)
Re: MMX/3Dnow!/SSE/SSE2 compilers jgd@cix.co.uk (2002-05-23)
Re: MMX/3Dnow!/SSE/SSE2 compilers salbin@emse.fr (2002-05-23)
Re: MMX/3Dnow!/SSE/SSE2 compilers jacob@jacob.remcomp.fr (jacob navia) (2002-05-27)
| List of all articles for this month |

From: Allan Sandfeld Jensen <snowwolf@diku.dk>
Newsgroups: comp.compilers
Date: 12 May 2002 00:02:41 -0400
Organization: DIKU
References: 02-04-126 02-04-137 02-04-146 02-04-157
Keywords: arithmetic
Posted-Date: 12 May 2002 00:02:40 EDT

dave@icmfp.com wrote:


>>>> What compilers support any of the MMX/3Dnow!/SSE/SSE2 instruction sets
>>>> (and optimize code for them)? Do you know of any published
>>>> comparisons of such compilers?
>
>> The upcomming GCC 3.1 (The extensions was developed for x86-64 by Suse
>> and AMD) and of course Intel's icc
>
> Is there any documentation on what GCC will be able to do in this
> respect? I have heard many reports of automatic vectorization
> support, and have used some (very old) patches which added automatic
> use of MMX instructions and registers, but the performance increase
> was minimal due to the poor code generated. Have things improved a
> lot since then?


Well, the biggest gain and the focus of the project was the option
-fpmath=sse. This replaces all x87 instructions with SSE/SSE2 ones. This
gives a performance boost even without vectorization, because it makes
compiler optimizations a lot easier (more RISC like).


I wouldnt trust gcc to vectorize anything though.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.