comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » GDL 0.9.7 delivered
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: GDL 0.9.7 delivered [message #94129 is a reply to message #94125] Sun, 22 January 2017 11:10 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Sunday, January 22, 2017 at 12:15:50 AM UTC+1, alai...@gmail.com wrote:

> Eg: with GCC 4.6
> option -DCMAKE_CXX_FLAGS_RELEASE='*-Ofast -march=native*'
> is way better than :
>
> with GCC 5.3, option
> cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE='-Ofast
> -march=native'
> is much better than the default one

Are you sure you want -Ofast? You'll get wrong answers faster :-)

regards,
Lajos


-Ofast
Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard-compliant programs. It turns on -ffast-math and the Fortran-specific -fno-protect-parens and -fstack-arrays.

-ffast-math
Might allow some programs designed to not be too dependent on IEEE behavior for floating-point to run faster, or die trying. Sets -funsafe-math-optimizations, -ffinite-math-only, and -fno-trapping-math.

-funsafe-math-optimizations

Allow optimizations that may be give incorrect results for certain IEEE inputs.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Identifying tags within a region
Next Topic: Generation of another Gaussian random variable from a given one...

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:55:19 PDT 2025

Total time taken to generate the page: 0.00425 seconds