[LLVMbugs] [Bug 18920] New: unknown directives in integrated aarch64 assembler

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 20 20:14:27 PST 2014


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

            Bug ID: 18920
           Summary: unknown directives in integrated aarch64 assembler
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: simon.hosie at arm.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

While .cpu is a valid directive in the aarch32 assembler, it seems to be
missing from aarch64.  I tried the following:

.cpu cortex-a57+simd

which works in GNU assembler.

Also .dword (.xword is accepted instead, and that's what compilers generate,
but GNU accepts both).


Immediates and immediate arithmetic seem to be problematic, too.  eg.,

    cmp w2, #(block_end - block) >> 3

gives me "expected compatible register, symbol or integer in range [0, 4095]"
and

    bic x6, x4, #1

gives me "invalid operand for instruction".

Work was done on the aarch32 assembler recently:
http://llvm.org/bugs/show_bug.cgi?id=18199

Perhaps some of the changes there can be stretched to fit here too?

-- 
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/20140221/4f57f731/attachment.html>


More information about the llvm-bugs mailing list