View previous topic :: View next topic |
Author |
Message |
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Fri Oct 12, 2007 1:03 am Post subject: -mieee on alpha? Yes or no? |
|
|
According to Gentoo Alpha porting guide, (here: http://www.gentoo.org/proj/en/base/alpha/doc/alpha-porting-guide.xml#doc_chap4 ) it says that on EV6 and better, the -mieee CFLAG is not required. It defines the flag as enabling "software assisted floating point at compile time". Since the EV6 and better processors have full IEEE floating point arithmetic implemented in hardware, it makes sense that the flag is not required.
Seemingly contradictory, over at the Gentoo Safe CFLAGS page, (here: http://gentoo-wiki.com/Safe_Cflags#Alpha_ev67 ) the EV67 example does include the -mieee flag! Wouldn't it be safer to omit an unnecessary CFLAG?
So the purpose of this post is two fold:
1: Is there any benefit to using (or not using) the -mieee flag on EV6 processors? Or does it generate the exact same code either way (on EV6)?
2: How many of you have EV6 (or better) and ARE using the -mieee flag? And why? _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
sae n00b
Joined: 09 Apr 2005 Posts: 16 Location: Lund, Sweden
|
Posted: Sun Oct 21, 2007 6:51 pm Post subject: |
|
|
In the case of EV6, it has to do with it flushing denormalized numbers to zero... In some cases it is OK, but in others not, you will have to look into this yourself, I am not a numerical computation guru... _________________ "The purpose of computing is insight, not numbers." - Hamming
- AMD athlon 64x2 4600+, 3GB - |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|