[llvm-commits] [llvm] r150060 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86InstrSSE.td
David A. Greene
dag at cray.com
Thu Feb 9 12:39:32 PST 2012
Duncan Sands <baldrick at free.fr> writes:
> Hi Dave,
>
>>> I didn't try, but turning __builtin_ia32_vpermilpd into an inline asm is
>>> presumably rather trivial.
>>
>> I don't know how hard it would be. The frontend would have to know
>> about mnemonics, at least. And it would have to know whether to
>> generate AT&T or Intel syntax.
>
> I'm not sure this is true any more. The LLVM code generators nowadays parse
> inline asm and can output it either as object code or in AT&T or Intel syntax.
> At least I think they can. If so, the syntax issue has gone away.
If that's true it's a little more palatable, so maybe this would work
after all. I like Nick's idea of a bit to indicate whether intrinsics
should be left alone as well.
Is inline asm guaranteed to be left alone?
-Dave
More information about the llvm-commits
mailing list