diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-15 17:40:55 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-15 17:40:55 +0000 |
commit | c12b3bc69b0487708d0e04dd051d389f5d90e681 (patch) | |
tree | 115325aa439a7294ea337729c4d5e8bce7879787 /gcc/config | |
parent | a5268989afcfe7c737d3f7b6b81d6f2e1bf054a5 (diff) | |
download | gcc-c12b3bc69b0487708d0e04dd051d389f5d90e681.tar.gz |
* config/i386/sfp-machine.h (CMPtype): Define as typedef using
libgcc_cmp_return mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132350 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/sfp-machine.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/i386/sfp-machine.h b/gcc/config/i386/sfp-machine.h index 4609cedf9c1..f4bf8796f9f 100644 --- a/gcc/config/i386/sfp-machine.h +++ b/gcc/config/i386/sfp-machine.h @@ -3,14 +3,15 @@ #define _FP_WS_TYPE signed long #define _FP_I_TYPE long -typedef int TItype __attribute__((mode(TI))); -typedef unsigned int UTItype __attribute__((mode(TI))); +typedef int TItype __attribute__ ((mode (TI))); +typedef unsigned int UTItype __attribute__ ((mode (TI))); -#define TI_BITS (__CHAR_BIT__ * (int)sizeof(TItype)) +#define TI_BITS (__CHAR_BIT__ * (int)sizeof(TItype)) -/* The type of the result of a floating point comparison. - This must match `word_mode' in GCC for the target. */ -#define CMPtype long +/* The type of the result of a floating point comparison. This must + match `__libgcc_cmp_return__' in GCC for the target. */ + +typedef int CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); #define _FP_MUL_MEAT_Q(R,X,Y) \ _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm) @@ -30,8 +31,7 @@ typedef unsigned int UTItype __attribute__((mode(TI))); /* Here is something Intel misdesigned: the specs don't define the case where we have two NaNs with same mantissas, but - different sign. Different operations pick up different NaNs. - */ + different sign. Different operations pick up different NaNs. */ #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ do { \ if (_FP_FRAC_GT_##wc(X, Y) \ |