vcond implementation in altivec

David Edelsohn dje@watson.ibm.com
Fri Mar 2 18:11:00 GMT 2007


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



More information about the Gcc mailing list