summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 12:12:51 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 12:12:51 +0000
commit67225bb60689517a4e7645a8f4473b1efbdbc219 (patch)
tree2d6432dd9de2bb43cd6f2463b19065c397834070
parent028d088be6d8721aebf4b38f0413abd947364d9a (diff)
downloadppe42-gcc-67225bb60689517a4e7645a8f4473b1efbdbc219.tar.gz
ppe42-gcc-67225bb60689517a4e7645a8f4473b1efbdbc219.zip
* config/arm/sfp-machine.h (__gcc_CMPtype): New typedef.
(CMPtype): Define as __gcc_CMPtype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146255 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/sfp-machine.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ee5aeaf2dcf..767ca08eb70 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-17 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/arm/sfp-machine.h (__gcc_CMPtype): New typedef.
+ (CMPtype): Define as __gcc_CMPtype.
+
2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
* config.gcc: Add soft-fp/t-softfp and i386/t-linux to tmake_file
diff --git a/gcc/config/arm/sfp-machine.h b/gcc/config/arm/sfp-machine.h
index bc75737d73d..4a456ae03a2 100644
--- a/gcc/config/arm/sfp-machine.h
+++ b/gcc/config/arm/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) \
OpenPOWER on IntegriCloud