This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec Code generation bug
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: John Whitney <john dot whitney at timesys dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Oct 2003 22:22:33 +0100 (CET)
- Subject: Re: Altivec Code generation bug
John Whitney wrote:
> Hello,
>
> I've recently come across what appears to be a GCC code generation bug, and
> wanted to verify that I am interpreting the results correctly (I hope this
> is the correct mailing list for this).
Please report this bug to http://gcc.gnu.org/bugzilla/ so we can track it.
> Note that this code is also generated with or without the -mno-altivec flag
> given to GCC, which seems odd.
Probably because you configured your compiler to default to the AltiVec ABI.
At least I can't reproduce it without -mabi=altivec (because no vrsave insns
will be generated at all).
> In any case, this problem appears in GCC 3.2, and in a test build I made of
> GCC 3.3.2. I've looked on the web and through the GCC mailing lists, but
> haven't seen any mention made of this problem, but I could have missed
> something.
It works fine on GCC mainline (3.4).
Segher