• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to do Intel style inline assembly with LLVM 3.0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Xcode 4.2 - No provisioned iOS devices are available with a compatible iOS version.
  • Next by Date: Couldn't register com.me.myapp with the bootstrap server
  • Previous by thread: Re: Xcode 4.2 - No provisioned iOS devices are available with a compatible iOS version.
  • Next by thread: Re: How to do Intel style inline assembly with LLVM 3.0?
  • Index(es):
    • Date
    • Thread