This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

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


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