mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Removed "GNU Assembler extension (compatibility)" definitions from ARMInstrInfo.td Fixed ARMAsmParser::ParseInstruction GNU compatability branch, so it also works for thumb mode from now. Added new tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205622 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
326 B
ArmAsm
11 lines
326 B
ArmAsm
@ RUN: not llvm-mc -triple=armv7-linux-gnueabi %s 2>&1 | FileCheck %s
|
|
.text
|
|
.thumb
|
|
@ CHECK: error: invalid operand for instruction
|
|
@ CHECK: ldrd r12, [r0, #512]
|
|
ldrd r12, [r0, #512]
|
|
|
|
@ CHECK: error: invalid operand for instruction
|
|
@ CHECK: strd r12, [r0, #512]
|
|
strd r12, [r0, #512]
|