<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - don't err on ".att_syntax prefix""
   href="http://llvm.org/bugs/show_bug.cgi?id=18916">bug 18916</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>REOPENED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - don't err on ".att_syntax prefix""
   href="http://llvm.org/bugs/show_bug.cgi?id=18916#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - don't err on ".att_syntax prefix""
   href="http://llvm.org/bugs/show_bug.cgi?id=18916">bug 18916</a>
              from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=18916#c5">comment #5</a>)
<span class="quote">> $ cat t.cpp 
> int main() {
>   asm (".intel_syntax noprefix;");
>   asm ("movdqu xmm4, [rcx];");
>   asm (".att_syntax prefix;");
> }

> $ g++ t.cpp

> $ clang++ t.cpp
> t.cpp:3:8: error: invalid operand for instruction
>   asm ("movdqu xmm4, [rcx];");
>        ^
> <inline asm>:1:15: note: instantiated into assembly here
>         movdqu xmm4, [rcx];
>                      ^~~~~~
> 1 error generated.</span >

I'm pretty sure we don't support preserving the assembly dialect across asm
blob invocations when using the integrated assembler.  The second blob is being
parsed as AT&T style asm.  Merge the blobs to get the desired behavior.</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>