This is the mail archive of the gcc-help@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]

RE: gcc-2.95.2 problem with target powerpc-eabi


>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

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