This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC, 4.1] PPC32 Linux IBM long double (PR target/26350)


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]