diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2008-02-19 08:14:10 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-02-19 08:14:10 +0100 |
commit | 02d353cfc901c7d7f57376029ef89ca1a043043b (patch) | |
tree | 621cd2b5aa7b8d2f63ae03ff9c3a8c97dd56d4ed | |
parent | 35dee9803d79197725f25037eb176a164499eb8d (diff) | |
download | gcc-02d353cfc901c7d7f57376029ef89ca1a043043b.zip gcc-02d353cfc901c7d7f57376029ef89ca1a043043b.tar.gz gcc-02d353cfc901c7d7f57376029ef89ca1a043043b.tar.bz2 |
sfp-machine.h (__gcc_CMPtype): New typedef.
* config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
(CMPtype): Define as __gcc_CMPtype.
* config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
(CMPtype): Define as __gcc_CMPtype.
From-SVN: r132413
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/sfp-machine.h | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/sfp-machine.h | 5 |
3 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7201027..3a23574 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-02-19 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef. + (CMPtype): Define as __gcc_CMPtype. + * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef. + (CMPtype): Define as __gcc_CMPtype. + 2008-02-19 Hans-Peter Nilsson <hp@axis.com> Support valgrind 3.3 for --enable-checking=valgrind. diff --git a/gcc/config/i386/sfp-machine.h b/gcc/config/i386/sfp-machine.h index b7625c0..190e3cb 100644 --- a/gcc/config/i386/sfp-machine.h +++ b/gcc/config/i386/sfp-machine.h @@ -10,7 +10,8 @@ typedef unsigned int UTItype __attribute__ ((mode (TI))); /* The type of the result of a floating point comparison. This must match `__libgcc_cmp_return__' in GCC for the target. */ -#define CMPtype long +typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); +#define CMPtype __gcc_CMPtype #define _FP_MUL_MEAT_Q(R,X,Y) \ _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm) diff --git a/gcc/config/rs6000/sfp-machine.h b/gcc/config/rs6000/sfp-machine.h index 29173e2..a0d1631 100644 --- a/gcc/config/rs6000/sfp-machine.h +++ b/gcc/config/rs6000/sfp-machine.h @@ -3,6 +3,11 @@ #define _FP_WS_TYPE signed long #define _FP_I_TYPE long +/* The type of the result of a floating point comparison. This must + match `__libgcc_cmp_return__' in GCC for the target. */ +typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); +#define CMPtype __gcc_CMPtype + #define _FP_MUL_MEAT_S(R,X,Y) \ _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm) #define _FP_MUL_MEAT_D(R,X,Y) \ |