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
This seems to be fixed. I *think* that this should be fixed by the changes that I did to handle the GNU extensions (SVN r198914). The provided test case passes with current ToT. Marking the bug as fixed.