diff options
author | Zack Weinberg <zack@codesourcery.com> | 2004-07-27 21:41:23 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-07-27 21:41:23 +0000 |
commit | 968a7562a63bfddeb3a2ff7bf89656dcb3b2e54b (patch) | |
tree | 433666cc87179f827d77692faceeb4590690a580 /gcc/config/m68k | |
parent | 706aa09b357196d83285da3809289b7d7d4f49a2 (diff) | |
download | gcc-968a7562a63bfddeb3a2ff7bf89656dcb3b2e54b.zip gcc-968a7562a63bfddeb3a2ff7bf89656dcb3b2e54b.tar.gz gcc-968a7562a63bfddeb3a2ff7bf89656dcb3b2e54b.tar.bz2 |
libgcc2.c: Change all conditionals testing LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 96 to == 80.
* libgcc2.c: Change all conditionals testing
LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 96 to == 80.
* libgcc2.h: Likewise.
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Set
TYPE_PRECISION of float80_type to 80.
* config/ia64/ia64.c (ia64_init_builtins): Set TYPE_PRECISION
of fpreg_type and float80_type to 80.
* config/i386/i386.h, config/ia64/ia64.h, config/m68k/m68k.h
* config/m68k/netbsd-elf.h:
Change LONG_DOUBLE_TYPE_SIZE and possibly LIBGCC2_LONG_DOUBLE_TYPE_SIZE
to evaluate to 80 whenever they would formerly have evaluated to 96.
* config/i386/sco5.h: Remove unnecessary redefinition of
LONG_DOUBLE_TYPE_SIZE.
* doc/rtl.texi: Clarify uses of XFmode and TFmode.
* config/i386/i386-modes.def: Use FRACTIONAL_FLOAT_MODE for
XFmode, with a bitsize of 80. Update commentary.
* config/ia64/ia64-modes.def: Likewise.
* config/m68k/m68k-modes.def: Likewise.
From-SVN: r85232
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r-- | gcc/config/m68k/m68k-modes.def | 2 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 2 | ||||
-rw-r--r-- | gcc/config/m68k/netbsd-elf.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/m68k/m68k-modes.def b/gcc/config/m68k/m68k-modes.def index b0ee620..51919b3 100644 --- a/gcc/config/m68k/m68k-modes.def +++ b/gcc/config/m68k/m68k-modes.def @@ -19,4 +19,4 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* 80-bit floating point (IEEE extended, in a 96-bit field) */ -FLOAT_MODE (XF, 12, ieee_extended_motorola_format); +FRACTIONAL_FLOAT_MODE (XF, 80, 12, ieee_extended_motorola_format); diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 62f839a..14a8b9b 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -354,7 +354,7 @@ extern int target_flags; /* target machine storage layout */ -#define LONG_DOUBLE_TYPE_SIZE 96 +#define LONG_DOUBLE_TYPE_SIZE 80 /* Set the value of FLT_EVAL_METHOD in float.h. When using 68040 fp instructions, we get proper intermediate rounding, otherwise we diff --git a/gcc/config/m68k/netbsd-elf.h b/gcc/config/m68k/netbsd-elf.h index ecb1469..97eb89c 100644 --- a/gcc/config/m68k/netbsd-elf.h +++ b/gcc/config/m68k/netbsd-elf.h @@ -43,12 +43,12 @@ Boston, MA 02111-1307, USA. */ #undef LONG_DOUBLE_TYPE_SIZE #define LONG_DOUBLE_TYPE_SIZE \ ((TARGET_68020 || TARGET_68040 || TARGET_68040_ONLY || \ - TARGET_68060) ? 96 : 64) + TARGET_68060) ? 80 : 64) #ifdef __mc68010__ #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64 #else -#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 96 +#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 80 #endif #define EXTRA_SPECS \ |