POV-Ray : Newsgroups : povray.beta-test : v3.7.1 beta.6 : Re: v3.7.1 beta.6 Server Time
3 May 2024 18:54:22 EDT (-0400)
  Re: v3.7.1 beta.6  
From: William F Pokorny
Date: 14 May 2017 08:42:53
Message: <591850cd$1@news.povray.org>
On 05/14/2017 08:15 AM, clipka wrote:
> Am 14.05.2017 um 13:17 schrieb William F Pokorny:
>> On 05/14/2017 06:08 AM, clipka wrote:
>>> Am 08.05.2017 um 02:13 schrieb green:
>>>
>>> MS Visual Studio has an option called "Whole Program Optimization",
>>> which allows the compiler/linker to optimize stuff looking at the "big
>>> picture" rather than just individual source files. Apparently this can
>>> cause a mess when programs have source files compiled with AVX
>>> instructions enabled and others without, in that the compiler/linker may
>>> accidentally "contaminate" the AVX-free portions with calls to portions
>>> which happen to have been compiled with AVX instructions enabled.
>>>
>>>
>> Have you done any performance comparisons with and without this
>> optimization?
>
> Not before; but running a quick test just now, disabling whole program
> optimization seems to give me a 6% performance drop on my machine, so
> that settles it for me.
>
>
Wow, six percent! Thanks for doing the test. Significant enough to look 
again at this sort of optimization with the gnu compiler / linker.

Bill P.


Post a reply to this message

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