* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define

From-SVN: r117505
This commit is contained in:
J"orn Rennecke 2006-10-06 14:44:18 +00:00 committed by Joern Rennecke
parent 662e96c548
commit 0a08751870
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-10-06 J"orn Rennecke <joern.rennecke@st.com>
* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define.
2006-10-05 Uros Bizjak <uros@kss-loka.si>
* config/i386/sync.md ("sync_add<mode>", "sync_sub<mode>",

View File

@ -2821,6 +2821,12 @@ 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__)
#define LIBGCC2_DOUBLE_TYPE_SIZE 32
#else
#define LIBGCC2_DOUBLE_TYPE_SIZE 64
#endif
/* 'char' is signed by default. */
#define DEFAULT_SIGNED_CHAR 1