I have some i386 assembly code (in a C source file) that works fine
with XCode 2.3, but doesn't compile in XCode 2.4:
__asm
{
mov ebx, pDouble
fld TBYTE Ptr [ebx]
fstp QWORD Ptr [ebx]
}
and
__asm
{
mov ebx, pDouble
fld QWORD Ptr [ebx]
fstp TBYTE Ptr [ebx]
}
with XCode 2.4, I get these compile errors:
no such instruction: `fstpll 0(%ebx)'
and
no such instruction: `fldll 0(%ebx)'
As far as I can see looking at the build transcript, the arguments
to gcc-4.0 are the same, the environment variables are essentially
the same (different machines, so pathnames are different but
equivalent), so the only possibility I can see is that this latest
gcc-4.0 has broken this code. I'm clearly not an assembly language
authority, and I've had a lot of trouble determining exactly what
syntax the gcc-4.0 assembler supports in the first place, so fixing
it at this point is leaving me a a loss. Anyone have any ideas?