* Turning off denormals (subnormals) in GCC
@ 2008-08-07 17:45 MeMooMeM
2008-08-07 17:52 ` H.J. Lu
0 siblings, 1 reply; 4+ messages in thread
From: MeMooMeM @ 2008-08-07 17:45 UTC (permalink / raw)
To: gcc
Hi,
I would like to avoid denormal handling latencies. On Intel, this is turned
ON by default and Intel compiler has the -ftz- option to turn it off. I am
looking for a similar option of GCC. Any ideas?
Thanks a lot in advance!
-Memo
--
View this message in context: http://www.nabble.com/Turning-off-denormals-%28subnormals%29-in-GCC-tp18875926p18875926.html
Sent from the gcc - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Turning off denormals (subnormals) in GCC
2008-08-07 17:45 Turning off denormals (subnormals) in GCC MeMooMeM
@ 2008-08-07 17:52 ` H.J. Lu
2008-08-07 18:23 ` MeMooMeM
0 siblings, 1 reply; 4+ messages in thread
From: H.J. Lu @ 2008-08-07 17:52 UTC (permalink / raw)
To: MeMooMeM; +Cc: gcc
On Thu, Aug 7, 2008 at 10:41 AM, MeMooMeM <mbelgin@gmail.com> wrote:
>
> Hi,
>
> I would like to avoid denormal handling latencies. On Intel, this is turned
> ON by default and Intel compiler has the -ftz- option to turn it off. I am
> looking for a similar option of GCC. Any ideas?
>
-ffast-math?
--
H.J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Turning off denormals (subnormals) in GCC
2008-08-07 17:52 ` H.J. Lu
@ 2008-08-07 18:23 ` MeMooMeM
2008-08-10 4:29 ` Vincent Lefevre
0 siblings, 1 reply; 4+ messages in thread
From: MeMooMeM @ 2008-08-07 18:23 UTC (permalink / raw)
To: gcc
H.J. Lu-30 wrote:
>
> On Thu, Aug 7, 2008 at 10:41 AM, MeMooMeM <mbelgin@gmail.com> wrote:
>>
>> Hi,
>>
>> I would like to avoid denormal handling latencies. On Intel, this is
>> turned
>> ON by default and Intel compiler has the -ftz- option to turn it off. I
>> am
>> looking for a similar option of GCC. Any ideas?
>>
>
> -ffast-math?
>
> --
> H.J.
>
>
Oh, I just found the other thread on this issue. In my first search I used
'subnormal' as the keyword, that's why I couldn't find the tread.
Thank you, I think this option will do it!
--
View this message in context: http://www.nabble.com/Turning-off-denormals-%28subnormals%29-in-GCC-tp18875926p18876103.html
Sent from the gcc - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Turning off denormals (subnormals) in GCC
2008-08-07 18:23 ` MeMooMeM
@ 2008-08-10 4:29 ` Vincent Lefevre
0 siblings, 0 replies; 4+ messages in thread
From: Vincent Lefevre @ 2008-08-10 4:29 UTC (permalink / raw)
To: gcc
On 2008-08-07 10:51:20 -0700, MeMooMeM wrote:
> H.J. Lu-30 wrote:
> > -ffast-math?
>
> Oh, I just found the other thread on this issue. In my first search
> I used 'subnormal' as the keyword, that's why I couldn't find the
> tread.
>
> Thank you, I think this option will do it!
This is a very bad idea. -ffast-math even violates the ISO C standard,
and you probably don't need all the options enabled by -ffast-math.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-10 0:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-07 17:45 Turning off denormals (subnormals) in GCC MeMooMeM
2008-08-07 17:52 ` H.J. Lu
2008-08-07 18:23 ` MeMooMeM
2008-08-10 4:29 ` Vincent Lefevre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).