<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - -x86-asm-syntax parameter is not respected by llvm-mc"
   href="http://llvm.org/bugs/show_bug.cgi?id=17471">17471</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>-x86-asm-syntax parameter is not respected by llvm-mc
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kkhoo@perfwizard.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ ./llvm-mc -help
OVERVIEW: llvm machine code playground
...
  -x86-asm-syntax                  - Choose style of code to emit from X86
backend:
    =att                           -   Emit AT&T-style assembly
    =intel                         -   Emit Intel-style assembly

$ echo '0x8f 0x00' | ./llvm-mc -disassemble -triple=x86_64 -x86-asm-syntax=att
    .text
    popq    (%rax)
$ echo '0x8f 0x00' | ./llvm-mc -disassemble -triple=x86_64
-x86-asm-syntax=intel
    .text
    popq    (%rax)


The expected output with Intel syntax should be something like:
    pop    qword ptr [rax]


This is with:
$ ./llvm-mc -version
LLVM (<a href="http://llvm.org/">http://llvm.org/</a>):
  LLVM version 3.4svn
  DEBUG build with assertions.
  Built Oct  3 2013 (11:08:29).
  Default target: x86_64-apple-darwin11.4.2
  Host CPU: corei7-avx</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>