This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Sparc long double patch
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] Sparc long double patch
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 2 Mar 2000 22:57:19 -0800
- Cc: "David S. Miller" <davem at redhat dot com>, gcc-patches at gcc dot gnu dot org
- References: <20000222170852.Q549@mff.cuni.cz>
On Tue, Feb 22, 2000 at 05:08:52PM +0100, Jakub Jelinek wrote:
> * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
> LONG_DOUBLE_TYPE_SIZE if not defined.
> Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
> LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
> * real.c: Likewise.
> * gengenrtl.c: Likewise.
> * print-rtl.c: Likewise.
> * rtl.c: Likewise.
>
> * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
> MASK_LONG_DOUBLE_128.
> * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
> * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
> * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
> (SUBTARGET_SWITCHES): Define.
> (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
> with -mlong-double-128.
> (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
> (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
> (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
> (CC1_SPEC): Include -mlong-double-{64,128} as needed.
> * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
> (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
> with -mlong-double-128.
> (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
> (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
> (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
> * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
> TARGET_LONG_DOUBLE_128): Define.
> * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
> * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
> long double on TARGET_ARCH64.
Ok.
r~