[LLVMdev] x86 Intel Syntax and MASM 9.x

Eli Friedman eli.friedman at gmail.com
Tue Jun 16 00:09:32 PDT 2009


On Mon, Jun 15, 2009 at 11:21 PM, Gaster,
Benedict<Benedict.Gaster at amd.com> wrote:
> I can get this two work with additional changes to X86InstrInfocpp but
> the problem I have with this approach is that it introduces a lot of
> duplication, when all I really want to do is parameterize the final
> field in the string "shl{b}\t{%cl, $dst|$dst, %CL}". I was wondering
> (hoping :-) if you knew of a better method to handling this?

I think you're missing the whole point of the "|" construct; the left
side is AT&T syntax, the right side is Intel syntax.

-Eli



More information about the llvm-dev mailing list