vcond implementation in altivec

Sa Liu SALIU@de.ibm.com
Mon Mar 5 11:30:00 GMT 2007


David Edelsohn <dje@watson.ibm.com> wrote on 02.03.2007 19:10:58:

> >>>>> Devang Patel writes:
> 
> >> Is there a reason why op0 is V4SF
> Devang> It is destination so, yes this is wrong.
> 
> >> and op1 is V4SI (and not V8HI)?
> 
> Devang> condition should be v4si, but it is not op1. So this is also
> not correct.
> 
> >> And also, why not use if_then_else instead of unspec (in all 
vcond's)?
> 
> Devang> I did not try that path. May be I did not know about it at that 
time.
> 
> 
>    Patches welcome.
> 
> David
> 

I am working on the patch and will submit it soon.

Sa



More information about the Gcc mailing list