[LLVMbugs] [Bug 19962] New: AArch64 error: invalid operand in inline asm: 'prfm pstl1keep, ${0:a}

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 5 16:27:13 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19962

            Bug ID: 19962
           Summary: AArch64 error: invalid operand in inline asm: 'prfm
                    pstl1keep, ${0:a}
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: charlebm at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12618
  --> http://llvm.org/bugs/attachment.cgi?id=12618&action=edit
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140605/48ea26ca/attachment.html>


More information about the llvm-bugs mailing list