[email protected] wrote:
>>  if(cond) C = A
>>  if(!cond) C = B
>
> you don't even need the first predicate :
>             C = A
>   if(!cond) C = B

Just keep in mind that this isn't symmetric anymore.

PIC16 conditional branches always skip only the next instruction:

skip-if-set condition
mov C, A
skip-if-clear condition
mov C, B

There will always be one skip and one assignment.

The cycle symmetry might be irrelevant for the GPU?


//Peter
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to