How to do Intel style inline assembly with LLVM 3.0?
How to do Intel style inline assembly with LLVM 3.0?
- Subject: How to do Intel style inline assembly with LLVM 3.0?
- From: Dave Camp <email@hidden>
- Date: Wed, 22 Feb 2012 09:05:52 -0800
I'm updating some older C projects with a lot of Intel style inline assembly to Xcode 4.3, and I can't seem to find the correct syntax to use for inline Intel style assembly. For example:
(void)foo(void)
{
… some C code…
_asm {
mov edi,pDst
mov eax,ry4_4way
movq mm5,[eax]
mov eax,pRx
movq mm6,[eax] //{rx,rx,rx,rx}
…
}
… some C code…
}
All of the examples I'm finding fort LLVM/Clang use AT&T syntax, which is substantially different.
Does LLVM/Clang support Intel style assembly? Can someone point me to some examples?
Thanks,
Dave
_______________________________________________
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