This is the mail archive of the gcc@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: recent troubles with float vectors & bitwise ops


Andrew Pinski wrote:
Which hardware (remember GCC is a generic compiler)?  VMX/Altivec and
SPU actually does not have different instructions for bitwise
and/ior/xor for different vector types (it is all the same
instruction).  I have ran into ICEs with even bitwise on vector
float/double on x86 also in the past which is the other reason why I
disabled them.  Since this is an extension, it would be nice if it was
nicely defined extension which means disabling them for vector
float/double.
It *was* neatly defined:
"The types defined in this manner can be used with a subset of normal C operations. Currently, GCC will allow using the following operators on these types: +, -, *, /, unary minus, ^, |, &, ~.".



So can you, pretty please, also patch the documentation and maybe point to the Altivec spec as it's obviously the only one relevant no matter what platform you're on?



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