This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Alpha -mieee Patch


I have no authority to comment on the validity of the patch itself, however if it were to be approved, I would recommend changing the description in

...
--- gcc/gcc/config/alpha/alpha.h.orig	2003-07-14 14:10:01.000000000 -0400
+++ gcc/gcc/config/alpha/alpha.h	2003-07-14 14:12:55.000000000 -0400
@@ -294,6 +294,8 @@
      N_("Request IEEE-conformant math library routines (OSF/1)")},	\
     {"ieee", MASK_IEEE|MASK_IEEE_CONFORMANT,				\
      N_("Emit IEEE-conformant code, without inexact exceptions")},	\
+    {"no-ieee", -(MASK_IEEE|MASK_IEEE_CONFORMANT),			\
+     N_("Don't emit IEEE-conformant code (reverse -mieee)")},		\
     {"ieee-with-inexact", MASK_IEEE_WITH_INEXACT|MASK_IEEE_CONFORMANT,	\
      N_("Emit IEEE-conformant code, with inexact exceptions")},		\
     {"build-constants", MASK_BUILD_CONSTANTS,				\

to simply "Allow IEEE-nonconformant code" since in many instances the code the compiler outputs with "-mno-ieee" will still be completely IEEE conformant.


Using "-mno-ieee" would, of course, just remove that guarantee.

In addition I would move that option below "-mieee-with-inexact".

Kelley Cook



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]