[fpc-pascal] Re: Register variables slowing down floating point operations

cobines cobines at gmail.com
Fri May 13 16:34:13 CEST 2011


2011/5/13 Vincent Snijders <vincent.snijders at gmail.com>:
> Did you try one of the -Cf options to enable MMX on i386?

I was wrong, sorry. The instruction in question is "cvtsi2sd", which
is SSE2 not MMX. Maybe on x86_64 SSE2 is default.

Indeed if I add -CfSSE2 than those instructions are generated for
i386, at least for variable "i" (Integer). Int64 "max" is stored in
two registers so it is still handled the same way.

--
cobines



More information about the fpc-pascal mailing list