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 i
> Could someone tell me how to do vector compare in generic way?
AFAICT every target which supports vector operations has it's own
list of built-in function for vector comparison. For example, Altivec
has vec_cmpgt and other built-ins for vector compare instructions.
(see altivec.h file for the