diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2008-02-15 18:40:55 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-02-15 18:40:55 +0100 |
commit | 6a9e85714c092d145293dbb71a748a8ab7b19961 (patch) | |
tree | 115325aa439a7294ea337729c4d5e8bce7879787 | |
parent | 6837b3b895180864df03d01628eed75168c25a57 (diff) | |
download | gcc-6a9e85714c092d145293dbb71a748a8ab7b19961.zip gcc-6a9e85714c092d145293dbb71a748a8ab7b19961.tar.gz gcc-6a9e85714c092d145293dbb71a748a8ab7b19961.tar.bz2 |
sfp-machine.h (CMPtype): Define as typedef using libgcc_cmp_return mode.
* config/i386/sfp-machine.h (CMPtype): Define as typedef using
libgcc_cmp_return mode.
From-SVN: r132350
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/sfp-machine.h | 16 |
2 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ffb217..cb73795 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-02-15 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/sfp-machine.h (CMPtype): Define as typedef using + libgcc_cmp_return mode. + 2008-02-15 Jakub Jelinek <jakub@redhat.com> PR middle-end/35130 @@ -5,7 +10,7 @@ OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause. 2008-02-15 Richard Guenther <rguenther@suse.de> - Zdenek Dvorak <ook@ucw.cz> + Zdenek Dvorak <ook@ucw.cz> PR tree-optimization/35164 * tree-flow.h (stmt_references_abnormal_ssa_name): Declare. diff --git a/gcc/config/i386/sfp-machine.h b/gcc/config/i386/sfp-machine.h index 4609ced..f4bf879 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) \ |