[LLVMbugs] [Bug 22395] New: ARM integrated assembler ignores .fpu directives when deciding whether instructions are valid

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 29 16:57:03 PST 2015


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

            Bug ID: 22395
           Summary: ARM integrated assembler ignores .fpu directives when
                    deciding whether instructions are valid
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-as
          Assignee: unassignedbugs at nondot.org
          Reporter: jonathan at codesourcery.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat neon_test.S 
  .text
  .thumb
  .arch armv7

  .p2align 2
  .fpu neon
  vldmia r0, {d16-d31}
$ clang -target armv7-none-eabi -c neon_test.S 
$ arm-none-eabi-objdump -d neon_test.o 

neon_test.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <.text>:
   0:    ecd0 0b20     vldmia    r0, {d16-d31}
$ clang -target armv4t-none-eabi -c neon_test.S 
neon_test.S:7:3: error: instruction requires: VFP2
  vldmia r0, {d16-d31}
  ^

This effectively blocks http://llvm.org/bugs/show_bug.cgi?id=22384

-- 
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/20150130/64cd863a/attachment.html>


More information about the llvm-bugs mailing list