On Tuesday 05 June 2007, Ying Yi wrote:
> Hi gcc group,
>
> I added vector compare and mov insns in gcc for our architecture
> (cross_gcc), but when I
> use these insns in c, I have to use builtin functions instead of
> generic vector compare.
>...
> Could someone tell me how to do vector compare in generic way?

You can't. GCC does not support this.

Vector comparisons don't easily/usefully map onto standard C operators. Adding 
them would probably want to be part of a larger extension for generic vector 
operations (element access, reduction operations, etc).

Paul

Reply via email to