Moving floating point values around
mcdonald at uxe.cso.uiuc.edu
mcdonald at uxe.cso.uiuc.edu
Tue Aug 23 23:13:00 AEST 1988
>How naughty would it be for a compiler for the 386/387 (or 286/287 for that
>matter) to move floating-point values with 386 MOV instructions instead
>of FLD and FSTP?
>Do most compilers do this already, and if so should I assume that I am
>working in a technological backwater?
Microsoft C for the IBM uses string move instructions. Presumably a pure
386 compiler would use those for 64 bit reals and the integer MOV
instruction for 32 bit ones.
Under the proper condition it will move more than one variable
in one instruction.
More information about the Comp.lang.c
mailing list