[fpc-pascal] Error in x32 compiler when using SSE3

OBones obones at free.fr
Mon May 28 14:41:08 CEST 2012

Hello all,

I'm compiling the program at the end of this message in x86 and x64 mode 
using the following command lines:

ppc386 -MDelphi -CfSSE3 testFPU.dpr
ppcrossx64 -MDelphi -CfSSE3 testFPU.dpr

while I get an exe file and no error in x64 mode, I get the following 
error message with ppc386:

testFPU.dpr(22,33) Error: Asm: [comisd mem??,xmmreg] invalid combination 
of opcode and operands
testFPU.dpr(30,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

Is this a known issue?
Is there a workaround for this?

I really need to have the same instruction set used for floating point 
maths, hence the use of SSE3 in both cases.


More information about the fpc-pascal mailing list