summaryrefslogtreecommitdiff
path: root/gcc/config/fp-bit.h
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-31 22:45:43 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-31 22:45:43 +0000
commitea32e033ef28b87444d167fbe882dfba3030ef8b (patch)
tree181b926113a2a84d029ccf131072702c9c19951e /gcc/config/fp-bit.h
parentfd89037755fa17364e7d253e59b40eede6478caf (diff)
downloadgcc-ea32e033ef28b87444d167fbe882dfba3030ef8b.tar.gz
2007-08-31 Andrew Pinski <andrew_pinski@playstation.sony.com>
* optabs.c (prepare_float_lib_cmp): Use libgcc_cmp_return_mode instead of word_mode. * config/dfp-bit.h: Likewise. * config/fp-bit.h: Likewise. * config/spu/spu.c (spu_libgcc_cmp_return_mode): New function. (spu_libgcc_shift_count_mode): New function. (TARGET_LIBGCC_CMP_RETURN_MODE): Define. (TARGET_LIBGCC_SHIFT_COUNT_MODE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/fp-bit.h')
-rw-r--r--gcc/config/fp-bit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/fp-bit.h b/gcc/config/fp-bit.h
index 0f03f87ee1a..5f9082cd301 100644
--- a/gcc/config/fp-bit.h
+++ b/gcc/config/fp-bit.h
@@ -108,9 +108,9 @@ typedef int TItype __attribute__ ((mode (TI)));
#endif
/* The type of the result of a floating point comparison. This must
- match `word_mode' in GCC for the target. */
+ match `__libgcc_cmp_return__' in GCC for the target. */
#ifndef CMPtype
-typedef int CMPtype __attribute__ ((mode (word)));
+typedef int CMPtype __attribute__ ((mode (__libgcc_cmp_return__)));
#endif
typedef unsigned int UHItype __attribute__ ((mode (HI)));