ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/18/20:34:03

Newsgroups: comp.os.msdos.djgpp
Date: Fri, 18 Sep 1998 21:45:35 +0100 (BST)
From: Jansic Harc <ssu96pgh AT reading DOT ac DOT uk>
To: Arthur <arfa AT clara DOT net>
cc: DJGPP Mailing List <djgpp AT delorie DOT com>
Subject: RE: Floating/fixed point
In-Reply-To: <000201bde24f$5e1d1560$a14e08c3@arthur>
Message-ID: <Pine.GSO.3.96.980918214250.10258D-100000@sutf17.reading.ac.uk>
References: <000201bde24f$5e1d1560$a14e08c3 AT arthur>
MIME-Version: 1.0

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...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019