Re: vcond implementation in altivec

2007-03-05 Thread Sa Liu
David Edelsohn <[EMAIL PROTECTED]> 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 al

Re: vcond implementation in altivec

2007-03-02 Thread David Edelsohn
> 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

Re: vcond implementation in altivec

2007-02-27 Thread Devang Patel
Is there a reason why op0 is V4SF It is destination so, yes this is wrong. and op1 is V4SI (and not V8HI)? 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)? I did not try that path. May be I di