[LLVMdev] Bug in Intel asm syntax for MC

Benjamin Kramer benny.kra at gmail.com
Fri Aug 16 02:39:10 PDT 2013


On 16.08.2013, at 11:17, Jun Koi <junkoi2004 at gmail.com> wrote:

> in LLVM 3.3, file lib/Target/X86/X86GenAsmWriter1.inc is generated for Intel asm syntax. However, there are some lines like below:
> 
> ....
>   case 16:
>     // ROL64mCL
>     O << ", %cl"; 
>     return;
>     break;
> ....
> 
> 
> this is wrong, since "%cl" is not Intel syntax.
> 
> hopefully somebody will fix this.

This was probably fixed in by Craig Topper in r186815. Can you try using LLVM from SVN trunk?

- Ben





More information about the llvm-dev mailing list