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: 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
>
>


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