This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC, 4.1] PPC32 Linux IBM long double (PR target/26350)
- From: Andreas Schwab <schwab at suse dot de>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>, jakub at redhat dot com
- Date: Sat, 18 Feb 2006 22:57:54 +0100
- Subject: Re: [RFC, 4.1] PPC32 Linux IBM long double (PR target/26350)
- References: <200602182124.k1ILOdD25234@makai.watson.ibm.com>
David Edelsohn <dje@watson.ibm.com> writes:
> Index: rs6000.md
> ===================================================================
> --- rs6000.md (revision 111225)
> +++ rs6000.md (working copy)
> @@ -8278,6 +8278,8 @@
> && TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_LONG_DOUBLE_128"
> {
> operands[2] = CONST0_RTX (DFmode);
> + if (DEFAULT_ABI == ABI_V4 && flag_pic)
> + operands[2] = validize_mem (force_const_mem (DFmode, operands[2]));
IMHO this deserves a comment about why this is being done.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."