Re: i386 inline assembly
Re: i386 inline assembly
- Subject: Re: i386 inline assembly
- From: Eric Albert <email@hidden>
- Date: Sun, 15 Jan 2006 22:08:03 -0800
On Jan 15, 2006, at 9:04 PM, Steve Checkoway wrote:
0. .balign isn't recognized. (This is 0 because I just checked and it
looks like .balign n should be replaced with .align log(n), so .balign
8 with .align 3.
Yep. That's technically an assembler limitation, not an inline asm
limitation. :) Please file a bug report.
1. Macros don't seem to be working.
Our assembler doesn't support macros, so please file another bug report
asking for that. :) However, this is inline asm so it might be getting
handled by the compiler. I'd suggest filing another bug report about
macros in inline asm.
2. I'm getting "error: can't find a register in class 'BREG' while
reloading 'asm'" I got an error similar to that before but it was
GENERAL_REGS instead of BREG. Passing -fomit-frame-pointer freed up
the needed register. However, that doesn't seem to be working here.
Whenever you get a message like that, file a bug report which includes
a preprocessed version of your source code plus the command line used
to invoke the compiler. That'll give the compiler team enough
information to figure out where they need to dig up an extra register.
Make sure you're using Xcode 2.2.1 before you write this one up, since
this might've been fixed there.
Three items and possibly four bug reports. Not bad. :)
-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden