altivec questions

Segher Boessenkool segher@kernel.crashing.org
Wed Jun 30 16:32:00 GMT 2004


>    Use of "vector signed long" and "vector unsigned long" isn't
>    documented, but GCC gives "warning: use of 'long' in AltiVec types
>    is deprecated; use 'int'".  These ought to be hard errors for -m64,
>    right?

Yes.

>    Several tests pass 'long *' or 'unsigned long *' in places where the
>    Motorola AltiVec PIM does not include those types among the
>    acceptable arguments.  GCC doesn't complain for either -m32 or -m64.
>    These ought to be errors for -m64, right?  Should GCC's altivec.h
>    support the ones that are used in the gcc.dg/vmx tests?

The tests should be fixed.


Segher



More information about the Gcc mailing list