[LLVMdev] Make PPC JIT support inline assembly?
Duncan Sands
baldrick at free.fr
Wed Mar 23 23:53:15 PDT 2011
Hi 陳韋任,
> It seems PPC JIT does not recognize inline assembly.
> For example, when I give LLVM IR belows to PPC JIT,
>
> %0 = tail call i32* asm "", "={r10}"() nounwind ;<i32*> [#uses=1]
>
> it complaints that inline assembly is not a supported
> instruction. x86 JIT works fine, however.
I'm surprised this worked with the x86 JIT - I thought the JIT didn't
support any inline assembler on any platform, and that the plan was to
solve this with the new MC-JIT, see
http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html
Ciao, Duncan.
More information about the llvm-dev
mailing list