Subject: Re: i386 uses slow clock routine with options NTP and options HZ=100
To: None <Chris_G_Demetriou@UX2.SP.CS.CMU.EDU>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: netbsd-bugs
Date: 03/16/1996 10:33:00
> Yeah, some machines implement software division by certain numbers
> to be muliplies then shifts, but not all, and that doesn't help if you
> actually have a 'divide' instruction that's slow.
You can divide by any number using multiply&shift.  GCC has the correct
code for doing it.  (I say correct because there have been compilers,
e.g. from DEC, that did it wrong.)

	-- Lennart