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

            Bug ID: 17720
           Summary: ARM assembler rejects LDRT/LDRHT/LDRBT with "error:
                    instruction requires: thumb2"
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

The integrated ARM assembler in Clang rejects LDRT/LDRHT/LDRBT with "error:
instruction requires: thumb2" when assembling for ARMv7-A.

Steps to reproduce for LDRT:

$ cat > test.s <<END
.syntax unified
.text
.arm
LDRT r0, [r1]
END
$ /opt/llvm/bin/clang -target armv7a-none-eabi -integrated-as test.s

Actual results:
'+soft-float-abi' is not a recognized feature for this target (ignoring
feature)
test.s:4:1: error: instruction requires: thumb2
LDRT r0, [r1]
^

Expected results: assemble LDRT instruction without error, since it has been a
valid ARM instruction since ARMv4, long before Thumb2 first appeared.

Version and platform:
$ /opt/llvm/bin/clang --version
clang version 3.4 (trunk 193589)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to