Subject: Re: kern/1515 - Changing netstat variables to 64 bit
To: Christos Zoulas <christos@zoulas.com>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-net
Date: 06/09/1999 12:41:47
> It is not just two instructions, look in adddi3.c. 

Huh?

gcc codes long long addition and subtraction in-line, at least on x86,
as a moment's experimentation with gcc -O -S would have shown..

As best I can tell, the cost on x86 is the additional memory for the
counter, and a bunch of `adcl $0,_counter+4' instructions.

					- Bill