gcc/libm floating-point bug?

Doug Rabson dfr at nlsystems.com
Tue May 27 01:42:56 PDT 2003


On Thursday 22 May 2003 6:32 pm, David O'Brien wrote:
> On Thu, May 22, 2003 at 09:36:23AM -0500, Anti wrote:
> > p4 should expand to "-march=pentium4 -mno-sse2"
>
> If we are going to make any change, it should be one we know will
> deal with the issue once and for all.  I also considered submitting a
> patch like that, but it is too late in the game to figure out if
> "-march=pentium4 -mno-sse2" would be sufficient in all cases.

Even for special cases, it is hard to use -msse (or -msse2) with 
gcc-3.2.x since it doesn't always manage to 16-byte align the stack 
pointer. This makes it hard to declare local vector float variables 
safely. All of this appears to be fixed in gcc-3.3-prerelease at least.

-- 
Doug Rabson				Mail:  dfr at nlsystems.com
					Phone: +44 20 8348 6160




More information about the freebsd-current mailing list