Re: [PATCH] 498+ days uptime

Vesselin Atanasov (vesselin@bgnet.bg)
Tue, 25 Aug 1998 19:56:15 +0300 (EEST)


The sequence is addl $1,counter
adcl $0,counter+4

incl does not update CF

vesselin

On Tue, 25 Aug 1998, Jamie Lokier wrote:

> Incrementing a 64-bit value on i386 is fast and simple. It's arithmetic
> done in GCC, especially with temporaries that you have to worry about.
>
> The instruction sequence is:
>
> incl counter
> adcl $0,counter+4

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html