Newsgroups: comp.os.msdos.djgpp Date: Fri, 18 Sep 1998 21:45:35 +0100 (BST) From: Jansic Harc To: Arthur cc: DJGPP Mailing List Subject: RE: Floating/fixed point In-Reply-To: <000201bde24f$5e1d1560$a14e08c3@arthur> Message-ID: References: <000201bde24f$5e1d1560$a14e08c3 AT arthur> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 17 Sep 1998, Arthur wrote: > > I'll have to see your benchmark code to be convinced. Float-integer > conversion is very slow, as are if() statements. So no, people wouldn't use > fmul instead of mul. > But,(unless I'm mistaken) according to the intel pentium data sheet, a 'mul' instruction uses the FPU pipeline to execute an integer multiply; and then converts it back to an integer again... So why is a 'mul' implicity faster... Jansic the Temptress Hunter. Tempting evil people don't exist... really...