This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: gcc-2.95.2 problem with target powerpc-eabi
- To: "'hirzel at indel dot ch'" <hirzel at indel dot ch>, gcc-help at gcc dot gnu dot org
- Subject: RE: gcc-2.95.2 problem with target powerpc-eabi
- From: David Korn <dkorn at pixelpower dot com>
- Date: Thu, 26 Oct 2000 12:29:29 +0100
>From: Christoph Hirzel [mailto:hirzel@indel.ch]
>Sent: 26 October 2000 07:45
>There seems to be a problem in copying 64 Bit integers
>or structures with gcc-2.95.2 for target powerpc-eabi.
> lis 11,u1@ha
> la 9,u1@l(11)
> lis 10,u2@ha
> la 11,u2@l(10)
> lfd 0,0(11)
> stfd 0,0(9)
>
>The compiler seems to optimize the copy by using load (lfd)
>and store (stfd) double float instructions.
Can I enquire *why* this is a problem? I have the impression (stop me
if I'm wrong) that lfd/stfd will do a straight load/store between the
fpregs and memory, without any messing around with rounding or format
conversion or anything like that.
DaveK
--
SEAL Team 6 World Trade Center Serbian Cocaine [Hello to all my fans
in domestic surveillance] cracking KGB nuclear arrangements CIA
counter-intelligence smuggle fissionable ammunition SDI