[LLVMbugs] [Bug 17720] New: ARM assembler rejects LDRT/LDRHT/LDRBT with "error: instruction requires: thumb2"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 29 02:35:01 PDT 2013
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: unassignedbugs at nondot.org
Reporter: niels.penneman at elis.ugent.be
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131029/8f064375/attachment.html>
More information about the llvm-bugs
mailing list