vax vs real_arithmetic

Richard Henderson rth@redhat.com
Wed Jan 9 14:11:00 GMT 2002


Unfortunately, real.h will not have been included by this time,
so we cannot use 

#if HOST_FLOAT_FORMAT != VAX_FLOAT_FORMAT
#define REAL_ARITHMETIC
#endif

I don't see anything wrong with just using software emulation
all the time.  I'd be interested in knowing what, if anything,
this does to compile times.


r~


	* config/vax/vax.h (REAL_ARITHMETIC): Define.

Index: vax.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/vax/vax.h,v
retrieving revision 1.30
diff -c -p -d -u -r1.30 vax.h
--- vax.h	2002/01/08 22:51:45	1.30
+++ vax.h	2002/01/09 21:54:18
@@ -89,9 +89,7 @@ extern int target_flags;
 
 /* Target machine storage layout */
 
-/* Define for software floating point emulation of VAX format
-   when cross compiling from a non-VAX host.  */
-/* #define REAL_ARITHMETIC */
+#define REAL_ARITHMETIC
 
 /* Define this if most significant bit is lowest numbered
    in instructions that operate on numbered bit-fields.



More information about the Gcc-patches mailing list