aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/fp-bit.h
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gcc.gnu.org>2007-08-31 15:45:43 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-08-31 15:45:43 -0700
commit7fecf2c7dbdd6b13dfce378a66d532c7411ec49f (patch)
tree181b926113a2a84d029ccf131072702c9c19951e /gcc/config/fp-bit.h
parent973bb83254bd44d34c9e4e785fc77d10f2366dc2 (diff)
downloadgcc-7fecf2c7dbdd6b13dfce378a66d532c7411ec49f.zip
gcc-7fecf2c7dbdd6b13dfce378a66d532c7411ec49f.tar.gz
gcc-7fecf2c7dbdd6b13dfce378a66d532c7411ec49f.tar.bz2
optabs.c (prepare_float_lib_cmp): Use libgcc_cmp_return_mode instead of word_mode.
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. From-SVN: r128005
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 0f03f87..5f9082c 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)));