http://llvm.org/bugs/show_bug.cgi?id=19320
Bug ID: 19320
Summary: Gnu Assembler compatibility fails on ldrd r12, [...]
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 12331
--> http://llvm.org/bugs/attachment.cgi?id=12331&action=edit
Test case
GNU Assembler compatibility fails on several commands:
ldrd r12, [r0, #32]
strd r12, [r0, #32]
The trouble as in ARMAsmParser, in ParseInstruction method. It assumes that
ARM::R12 + 1 == ARM::SP.
It is wrong, since ARM::<Register> codes are generated by tablegen and actually
could be any random numbers.
I think its critical misbehaviour. So first fast fix patch will be sent to
LLVM-Commits.
While actually I would like get rid of
// GNU Assembler extension (compatibility)
...
in further commits.
--
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