POV-Ray : Newsgroups : povray.programming : isosurf.cpp / inline & gcc : Re: isosurf.cpp / inline & gcc Server Time
27 Sep 2024 01:16:57 EDT (-0400)
  Re: isosurf.cpp / inline & gcc  
From: Wolfgang Wieser
Date: 20 Mar 2003 17:43:52
Message: <3e7a4427@news.povray.org>
Thorsten Froehlich wrote:

>> So, please upgrade. gcc-3.2 produces faster POVRay-code anyways.
>> (Or, complain about my ignorance in case I am wrong at this issue.)
> 
> Mael claimed to be using gcc 3.2. 
>
Hmm. In this case I suggest compiling with -Winline and see if the 
reason for the time difference is really the inlining. 
In case -Winline does not give a warning, it may help if we have a 
look at the assembler code generated by gcc. 
Either there is a bug in gcc (-Winline does not work correctly), 
or the speed difference is due to some other reason (different code 
layout better for cache or whatever). 

Any other ideas?

Wolfgang


Post a reply to this message

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