This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, RFC] Enable IBM long double for PPC32 Linux
- From: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Roland McGrath <roland at redhat dot com>, Andreas Krebbel1 <Andreas dot Krebbel at de dot ibm dot com>
- Date: Mon, 30 Jan 2006 19:41:16 +0100
- Subject: Re: [PATCH, RFC] Enable IBM long double for PPC32 Linux
Jakub Jelinek <jakub@redhat.com> wrote on 30.01.2006 18:03:17:
> I was testing redhat/gcc-4_1-branch with the patch Andreas posted:
> http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01953.html
> and the attached glibc patch (slightly modified from the one he sent me)
> on top of CVS glibc.
> On s390 -m31 it builds but test-{,i}ldoubl{,e} tests segfault (will look
> into it soon) and keep you informed.
I'd appreciate that, thanks!
> ldbl.c: In function 'isinfl':
> ldbl.c:20: error: unable to find a register to spill in class 'FP_REGS'
> ldbl.c:20: error: this is the insn:
> (insn 13 32 15 0 (set (subreg:TF (reg/v:TI 4 %r4 [orig:46 qw_u ] [46]) 0)
> (mem/c/i:TF (reg:DI 2 %r2 [ x ]) [2 x+0 S16 A64])) 66 {movtf}
(nil)
> (expr_list:REG_DEAD (reg:DI 2 %r2 [ x ])
> (nil)))
> ldbl.c:20: confused by earlier errors, bailing out
It looks like we'll have to allow TFmode in integer registers after all.
Andreas is currently testing a fix, and will post an updated patch as
soon as possible.
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand
GNU compiler/toolchain for Linux on zSeries and Cell
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com