This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PowerPC floating point little-endian [14 of 15]
- From: Alan Modra <amodra at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 10 Jul 2013 18:08:26 +0930
- Subject: Re: PowerPC floating point little-endian [14 of 15]
- References: <20130710012435 dot GN2602 at bubble dot grove dot modra dot org> <20130710013149 dot GA2602 at bubble dot grove dot modra dot org> <mvmppuqsvfr dot fsf at hawking dot suse dot de>
On Wed, Jul 10, 2013 at 09:52:56AM +0200, Andreas Schwab wrote:
> Alan Modra <amodra@gmail.com> writes:
>
> > diff --git a/sysdeps/powerpc/powerpc64/fpu/s_roundf.S b/sysdeps/powerpc/powerpc64/fpu/s_roundf.S
> > index 980a77b..4f2c851 100644
> > --- a/sysdeps/powerpc/powerpc64/fpu/s_roundf.S
> > +++ b/sysdeps/powerpc/powerpc64/fpu/s_roundf.S
> > @@ -19,10 +19,12 @@
> > #include <sysdep.h>
> >
> > .section ".toc","aw"
> > + .p2align 3
> > .LC0: /* 2**23 */
> > - .tc FD_4b000000_0[TC],0x4b00000000000000
> > + .long 0x4b000000
> > .LC1: /* 0.5 */
> > - .tc FD_3f000000_0[TC],0x3f00000000000000
> > + .long 0x3f000000
> > +
>
> Missing second word?
Deliberate. Two 32-bit float constants stored in a 64-bit word.
Previously they used two 64-bit words.
--
Alan Modra
Australia Development Lab, IBM