POV-Ray : Newsgroups : povray.unix : Compile POV-Ray with optimisation for Athlon Server Time
31 Oct 2024 14:09:30 EDT (-0400)
  Compile POV-Ray with optimisation for Athlon (Message 1 to 5 of 5)  
From: Bonsai
Subject: Compile POV-Ray with optimisation for Athlon
Date: 10 May 2001 08:14:54
Message: <3afa863e@news.povray.org>
Hi,

I compiled POV-Ray with gcc 2.96 including the following flags for Pentium
optimisation as I found in the standard Makefile for POV-Ray:

CFLAGS





= -O6 -finline-functions -ffast-math -c -ansi -m386 -DCPU=686 -DCOMPILER_VER
=\".`uname`.$(CC)\" -DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC)
$(ZLIBINC)

mixed with optimisations suggested at the athlonlinux.org page:

CFLAGS
= -s -O3 -fomit-frame-pointer -Wall -mpentiumpro -march=pentiumpro -malign-f
unctions=4 -funroll-loops -fexpensive-optimizations -malign-double -fschedul
e-insns2

the result was:

CFLAGS
= -s -O3 -fomit-frame-pointer -Wall -mpentiumpro -march=pentiumpro -malign-f
unctions=4 -funroll-loops -fexpensive-optimizations -malign-double -fschedul
e-insns2 -finline-functions -ffast-math -c -ansi -DCPU=686 -DCOMPILER_VER=\"
.`uname`.$(CC)\" -DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC)
$(ZLIBINC)

After the compiling the render time for a scene decreased from 7 hours with
the standard POV-Ray binary to 6 hours with my own compiled version. I think




and optimisation things. Maybe there are further optimisation flags for the
Athlon, maybe not.

Is anyone out there who has done an optimised compile for the Athlon too?
Could you share your experience?

Thanks,

Bonsai


Post a reply to this message

From: Warp
Subject: Re: Compile POV-Ray with optimisation for Athlon
Date: 11 May 2001 07:54:46
Message: <3afbd306@news.povray.org>
Bonsai <bon### [at] b0n541net> wrote:
: Maybe there are further optimisation flags for the
: Athlon, maybe not.

  Probably not in the current gcc.
  Wait for gcc 3. That may have.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Peter Popov
Subject: Re: Compile POV-Ray with optimisation for Athlon
Date: 12 May 2001 17:48:15
Message: <3obrftguvkcbjrootmcul33sdgabj9pa7k@4ax.com>
On 11 May 2001 07:54:46 -0400, Warp <war### [at] tagpovrayorg> wrote:

>: Maybe there are further optimisation flags for the
>: Athlon, maybe not.
>
>  Probably not in the current gcc.
>  Wait for gcc 3. That may have.

Why wait, grab a snapshot :)


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Margus Ramst
Subject: Re: Compile POV-Ray with optimisation for Athlon
Date: 14 May 2001 07:05:18
Message: <3affbbee$1@news.povray.org>
"Bonsai" <bon### [at] b0n541net> wrote:
> 
> Is anyone out there who has done an optimised compile for the Athlon too?
> Could you share your experience?
> 
> 
gcc 2.96 has Athlon-specific compiler flags -DCPU=athlon and -march=athlon
however I'm not entirely sure whether they do anything useful at the time,
or whether they are just placeholders for future versions.
Try it yourself and find out.

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg
Home page http://www.hot.ee/margusrt


Post a reply to this message

From: Bonsai
Subject: Re: Compile POV-Ray with optimisation for Athlon
Date: 16 May 2001 03:10:22
Message: <3b0227de$1@news.povray.org>
> gcc 2.96 has Athlon-specific compiler flags -DCPU=athlon and -march=athlon
> however I'm not entirely sure whether they do anything useful at the time,
> or whether they are just placeholders for future versions.
> Try it yourself and find out.


we have to wait...

Thanks,

Bonsai


Post a reply to this message

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