sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Test __SH2A_SINGLE_ONLY__ also.

* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Test
__SH2A_SINGLE_ONLY__ also.

From-SVN: r146747
This commit is contained in:
DJ Delorie 2009-04-24 19:06:14 -04:00 committed by DJ Delorie
parent 92851a93f1
commit 4f7be84923
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-04-24 DJ Delorie <dj@redhat.com>
* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Test
__SH2A_SINGLE_ONLY__ also.
2009-04-24 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.md (movfs_internal): Allow flt constants.

View File

@ -2618,7 +2618,7 @@ struct sh_args {
floating point types equivalent to `float'. */
#define DOUBLE_TYPE_SIZE ((TARGET_SH2E && ! TARGET_SH4 && ! TARGET_SH2A_DOUBLE) ? 32 : 64)
#if defined(__SH2E__) || defined(__SH3E__) || defined( __SH4_SINGLE_ONLY__)
#if defined(__SH2E__) || defined(__SH3E__) || defined( __SH2A_SINGLE_ONLY__) || defined( __SH4_SINGLE_ONLY__)
#define LIBGCC2_DOUBLE_TYPE_SIZE 32
#else
#define LIBGCC2_DOUBLE_TYPE_SIZE 64