Intel inline assembly
Intel inline assembly
- Subject: Intel inline assembly
- From: Sebastien Metrot <email@hidden>
- Date: Fri, 10 Jun 2005 15:50:46 +0200
Hi,
We currently build our applications both on MSVC 7.1 and XCode. The
MacIntel switch will permit us to reuse a lot of our low level optims
for x86. The PPC targets use -fasm-blocks for out PPC inline assembly,
to match the codewarrior syntax. I know gcc can use the standard intel
syntax with -masm=intel but it would still need a lot of source code
reformating as this syntax requires each line of code to be enclosed in
double quotes. Is there an alternative solution that would permit the
use of inline assembly as easily as in codewarrior and VC for intel? It
would be nice if -fasm-blocks could do the with VC syntax that it does
for the codewarrior syntax.
I tried to add -masm=intel to our XCode project after enabling PPC and
Intel architectures but of course the PPC compilation generates an error
as it doesn't know about this flag. Is there a way to tell xcode to use
a particular option on one architechture and not the other?
Thanks a lot in advances!
Sebastien
--
Sebastien Metrot
Lead Dev.
http://www.usbsounds.com
_______________________________________________
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