Mail Archives: pgcc/1999/09/27/14:56:13
At 07:37 AM 9/27/99 +0200, you wrote:
>Vincent Diepeveen wrote:
>>
>> Hello,
>>
>>
>> For my search inside loops very important is next pattern:
>>
>> int *p,u,*array;
>>
>> if( !PATTERN )
>> p += array[u];
>>
>> Now pattern checks for zero. So if non-zero then
>> p += array[u] is applied.
>>
>> Pattern is also an array reference. something like !s[t[u]]
>>
>
>Hmm, isn't cadd* the thing you would need? What about modifying
>your code to
Well i actually don't care how as long as branches go away :)
I'm pretty sure that JNE is not the kind of instruction i like
to see there, which hapens
> tmp = 0
> if( !PATTERN )
> tmp = array[u];
> p += tmp;
doesn't work. tmp += array[u] doesn't either.
Vincent Diepeveen
diep AT xs4all DOT nl
---
...en verder ben ik van mening dat Dap het heelal in
dient te worden gestraald...
- Raw text -