POV-Ray : Newsgroups : povray.macintosh : G5 optimization : Re: G5 optimization Server Time
26 Apr 2024 04:24:39 EDT (-0400)
  Re: G5 optimization  
From: popov
Date: 2 Feb 2005 09:40:00
Message: <web.4200e4c6394e2821d95579c20@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> popov wrote:
> > In order to optimize for the G5, my gcc compiler flags are -O3 -mcpu=G5
> > -mtune=G5 -mpowerpc-gpopt -mpowerpc64
> >
> > Compilation is successful, however running povray -benchmark results in a
> > segmentation fault at the very beginning of execution.
> >
> > The reason of the segmentation fault seems to be the -mpowerpc64
> > optimization flag. If I compile without -mpowerpc64, everything is working
> > fine and I get a benchmark of 36 minutes.
> >
> > Is the 3.6.1 source not compatible with the mpowerpc64 flag?
>
> The flag -mpowerpc64 is simply wrong in this context.  I recommend you read
> and understand the Apple developer documentation or don't build POV-Ray
> yourself.  It is not feasible to explain a topic like this in newsgroup posting.
>
>  Thorsten

Hmm, according to Apple Technical Note TN2086, the mpowerpc64 flag enables
the g5's native 64-bit long long support for greatly enhanced performance
when working with long long. It is common practice to use this flag on the
G5.

If -mpowerpc64 is simply wrong, -fast is also simply wrong because it turns
mpowerpc64 on.


Post a reply to this message

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