From: aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) Newsgroups: comp.os.msdos.djgpp Subject: Re: floating point is... fast??? Date: Sun, 19 Jan 1997 13:37:21 GMT Organization: Southwest Missouri State University Lines: 11 Message-ID: <32e22337.2066519@ursa.smsu.edu> References: <5brd2e$dap AT lyra DOT csx DOT cam DOT ac DOT uk> NNTP-Posting-Host: forseti.i53.smsu.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 18 Jan 1997 20:50:22 GMT, gpt20 AT thor DOT cam DOT ac DOT uk (G.P. Tootell) wrote: >while using the profiler on some code i had written i noticed that changing a >floating point multiply to an unsigned multiply of 2 longs turned out to be >slower. in fact floating point multiply appears to be faster than ordinary >integer multiply for any case. is this actually true? and if so is there any >reason i shouldn't just change every multiply in my code to make sure it's >floating point? My timing manual only goes up to the 486. The FMUL takes from 11 to 16 clocks, where the 486 takes 13 to 42 clocks.