<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 --- - AArch64 error: invalid operand in inline asm: 'prfm pstl1keep, ${0:a}"
   href="http://llvm.org/bugs/show_bug.cgi?id=19962">19962</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AArch64 error: invalid operand in inline asm: 'prfm pstl1keep, ${0:a}
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>charlebm@gmail.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>Created <span class=""><a href="attachment.cgi?id=12618" name="attach_12618" title="Test file that generates error">attachment 12618</a> <a href="attachment.cgi?id=12618&action=edit" title="Test file that generates error">[details]</a></span>
Test file that generates error

The prebuilt 3.4 version of clang successfully compiles the attached sample
program for aarch64, but the trunk version generates the following error:


x1.c:3:22: error: invalid operand in inline asm: 'prfm pstl1keep, ${0:a}
'
        asm volatile("prfm pstl1keep, %a0\n" : : "p" (ptr));
                     ^
x1.c:3:22: error: unknown token in expression
<inline asm>:1:18: note: instantiated into assembly here
        prfm pstl1keep, 
                        ^
x1.c:3:22: error: invalid operand
        asm volatile("prfm pstl1keep, %a0\n" : : "p" (ptr));
                     ^
<inline asm>:1:18: note: instantiated into assembly here
        prfm pstl1keep, 
                        ^
3 errors generated.
make: *** [x1] Error 1</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>