This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: lower-subreg and IBM long double
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Mon, 10 Jun 2013 21:00:34 -0400
- Subject: Re: lower-subreg and IBM long double
- References: <20130611002611 dot GS6878 at bubble dot grove dot modra dot org>
On Mon, Jun 10, 2013 at 8:26 PM, Alan Modra <amodra@gmail.com> wrote:
> The following patch disables lower-subreg for double double TFmode,
> bootstrap and regression tests are OK, but I'm a little unsure whether
> this is the right thing to do.
>
> * rs6000.c (TARGET_INIT_LOWER_SUBREG): Define.
> (rs6000_init_lower_subreg): New function.
> * lower-subreg.c (init_lower_subreg): Call targetm.init_lower_subreg.
> * target.def (init_lower_subreg): New.
> * doc/tm.texi.in (TARGET_INIT_LOWER_SUBREG): Document.
> * doc/tm.texi: Regenerate.
I agree with the rs6000 bits. You need someone else to approve the
common bits. This also needs a testcase.
Thanks, David