This is the mail archive of the
gcc-bugs@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>
- Subject: Re: gcc-2.95.2 problem with target powerpc-eabi
- From: "Volker Barthelmann" <volker dot barthelmann at 3SOFT dot de>
- Date: Fri, 27 Oct 2000 15:43:28 +0200
- Cc: <gcc-bugs at gcc dot gnu dot org>
- Reply-To: <volker dot barthelmann at 3SOFT dot de>
Hi,
> The compiler seems to optimize the copy by using load (lfd)
> and store (stfd) double float instructions.
>
> Now my question. How can I avoid this, without using the
> compiler option -msoft-float ?
> I think it should be possible if I make some adjustmenst
> in the rs6000.md /.c /.h files and then rebuild the compiler.
>
> Has anybody any experience in doing this ?
The option -mstrict-align seems to prevent this behaviour.
Unfortunately, the manual does not document this (in fact, the
documentation for this option does not seem to make much sense
to me). I'm not sure whether this is the intended meaning of
-mstrict-align or, if not, what it is supposed to do. However,
the switch has been used for some time in several real-time
operating-systems for this purpose.
Hope that helps,
Volker