Mail Archives: djgpp/1998/07/25/17:46:47
On Sat, 25 Jul 1998 21:47:08 +0200, "Böhme Uwe" <uwe AT hof DOT baynet DOT de>
wrote:
>> int _lrotl( int v ) {
>> __asm__ __volatile__ (
>> " movw %0, %%eax \n"
>> " rol $1, %%eax \n"
>> " jo IsDone \n"
>> " or $1, %%eax \n"
>> "IsDone: \n"
>> : : "gl" (v)
>> );
>> };
>>
>
>Sorry it's of course notjo IsDone
>
>this line should be
> " jno IsDone \n"
>
Thanks for trying help me but this code in "as is" state too
unefficient and buggy (for example it will not work with any "descent"
optimizing options). I need learn more about inline assembly and then
i post my "final" solution :)
Vladimir
- Raw text -