From ea32e033ef28b87444d167fbe882dfba3030ef8b Mon Sep 17 00:00:00 2001 From: pinskia Date: Fri, 31 Aug 2007 22:45:43 +0000 Subject: 2007-08-31 Andrew Pinski * 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 --- gcc/config/fp-bit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/config/fp-bit.h') 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))); -- cgit v1.2.1