This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: vector compare
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: Ying Yi <M dot Yi at ed dot ac dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 5 Jun 2007 15:55:07 +0300
- Subject: Re: vector compare
> 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 list of built-ins)
Revital
>
>
> Look forward to hearing from you
>
>
> Maggie
>
>