diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-11-10 22:10:12 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-11-10 22:10:12 +0000 |
commit | 1b332860aef0121cf4591f4377a7201ce0ef8366 (patch) | |
tree | f674814c505f42f107edbf7ba47732158a0af3f6 /test | |
parent | eaf4221cef44f5e5094b60099f6e52a8e431bb49 (diff) | |
download | llvm-1b332860aef0121cf4591f4377a7201ce0ef8366.tar.gz llvm-1b332860aef0121cf4591f4377a7201ce0ef8366.tar.bz2 llvm-1b332860aef0121cf4591f4377a7201ce0ef8366.tar.xz |
Thumb MUL assembly parsing for 3-operand form.
Get the source register that isn't tied to the destination register correct,
even when the assembly source operand order is backwards.
rdar://10428630
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/basic-thumb-instructions.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb-instructions.s b/test/MC/ARM/basic-thumb-instructions.s index 0fa52b0987..6e830cd557 100644 --- a/test/MC/ARM/basic-thumb-instructions.s +++ b/test/MC/ARM/basic-thumb-instructions.s @@ -372,9 +372,11 @@ _func: @ MUL @------------------------------------------------------------------------------ muls r1, r2, r1 + muls r2, r2, r3 muls r3, r4 @ CHECK: muls r1, r2, r1 @ encoding: [0x51,0x43] +@ CHECK: muls r2, r3, r2 @ encoding: [0x5a,0x43] @ CHECK: muls r3, r4, r3 @ encoding: [0x63,0x43] |