Mail Archives: djgpp/1998/09/18/20:34:03
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 -