aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2009-04-17 14:12:51 +0200
committerUros Bizjak <uros@gcc.gnu.org>2009-04-17 14:12:51 +0200
commit68f7b0613fceb32f45de2928d0b05a88b0641d0f (patch)
tree2d6432dd9de2bb43cd6f2463b19065c397834070 /gcc
parenta8f59a33dc5af78faf21f1afb48358ae1918926d (diff)
downloadgcc-68f7b0613fceb32f45de2928d0b05a88b0641d0f.zip
gcc-68f7b0613fceb32f45de2928d0b05a88b0641d0f.tar.gz
gcc-68f7b0613fceb32f45de2928d0b05a88b0641d0f.tar.bz2
sfp-machine.h (__gcc_CMPtype): New typedef.
* config/arm/sfp-machine.h (__gcc_CMPtype): New typedef. (CMPtype): Define as __gcc_CMPtype. From-SVN: r146255
Diffstat (limited to 'gcc')
-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 ee5aeaf..767ca08 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 bc75737..4a456ae 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) \