POV-Ray : Newsgroups : povray.general : GCC 4.0 aaand -march=k8 Server Time
31 Oct 2024 16:14:12 EDT (-0400)
  GCC 4.0 aaand -march=k8 (Message 1 to 3 of 3)  
From: Raf256
Subject: GCC 4.0 aaand -march=k8
Date: 3 Jul 2005 07:54:57
Message: <p60lp2-pqu.ln1@raf256.com>
Hi,
I just recompiled PovRAy 3.6 using not default GCC 3.2 and -march=i686,
but gcc-4.0 and -march=k8 (but still in 32b mode).

Benchmark was a bit faster - about 34 minutes instead of 38 (Amd64 2800, 1
GB ram), but the renderer images differed a bit - it looked liked photos
where more blurred in gcc4/k8. Is gcc4 misscompiling povray?

I will repeat tests more precisely soon.

-- 


Post a reply to this message

From: Matthias Weißer
Subject: Re: GCC 4.0 aaand -march=k8
Date: 3 Jul 2005 11:26:24
Message: <42c803a0$1@news.povray.org>
Raf256 schrieb:
> Hi,
> I just recompiled PovRAy 3.6 using not default GCC 3.2 and -march=i686,
> but gcc-4.0 and -march=k8 (but still in 32b mode).
> 
> Benchmark was a bit faster - about 34 minutes instead of 38 (Amd64 2800, 1
> GB ram), but the renderer images differed a bit - it looked liked photos
> where more blurred in gcc4/k8. Is gcc4 misscompiling povray?

I think -march=k8 uses the SSE unit to do floating point calculations. 
GCC 3.2 uses the x87 FPU I think.

-- 

mat### [at] matweide
http://www.matwei.de


Post a reply to this message

From: Chambers
Subject: Re: GCC 4.0 aaand -march=3Dk8
Date: 9 Jul 2005 18:30:00
Message: <web.42d04f11127d34812e7de9f10@news.povray.org>
=?ISO-8859-2?Q?Matthias_Wei=DFer?= <mat### [at] matweide> wrote:
> Raf256 schrieb:
> > Hi,
> > I just recompiled PovRAy 3.6 using not default GCC 3.2 and -march=i686,
> > but gcc-4.0 and -march=k8 (but still in 32b mode).
> >
> > Benchmark was a bit faster - about 34 minutes instead of 38 (Amd64 2800, 1
> > GB ram), but the renderer images differed a bit - it looked liked photos
> > where more blurred in gcc4/k8. Is gcc4 misscompiling povray?
>
> I think -march=k8 uses the SSE unit to do floating point calculations.
> GCC 3.2 uses the x87 FPU I think.
>
> --

> mat### [at] matweide
> http://www.matwei.de

To truly get a comparison, you would need to do the following:
-march=k8 -msse2 -mfpmath=sse2
On both compilers.  Otherwise, you're getting completely different code
produced.

....Chambers


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.