Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i386 assembler changed in XCode 2.4?



Hi,

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?

Thanks,

Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.