On 11 Mar 2012, at 15:40, peter green wrote: >> Just set a breakpoint in the place where one of the offending instructions >> is generated, found via grep. E.g., the only place where an LDF is generated >> is in arm/cgcpu.pas (in a_loadfpu_ref_reg). >> > Hmm, when I grepped for the first and most prolific problem instruction > (mvfd) I didn't find anything useful. Maybe I should have tried some of the > other problem intstructions.
The instruction is MVF. The "D" is a size suffix (like "movl" or "movb" is not an instruction x86, but "mov" is) > Are you saying that VFP registers are treated as multimedia registers and not > as FPU registers? If so presumablly that mean I should be using LOC_MMREG and > not LOC_FPUREG as the location for parameters and return values? Yes. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel