diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-07 18:39:47 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-07 18:39:47 +0000 |
commit | cfbb3a78dbb9f0e5de90ef2032f0ee9a7ceda8f1 (patch) | |
tree | f2e820b8b11a741e4215842247ba5f882a0a339e | |
parent | 76ecc3d35b4d16afb016bb14e29e12802b968716 (diff) |
Thumb2 ldm/stm 'db' mnemonics don't have a '.w' suffix.
There is no 16-bit wide encoding, so the .w suffix isn't needed (indeed, isn't
documented as allowed). Also add the missing '!' token on the _UPD
variant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139243 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index dabbeedfee..3c91557638 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -1524,7 +1524,7 @@ multiclass thumb2_ldst_mult<string asm, InstrItinClass itin, } def DB : T2XI<(outs), (ins GPR:$Rn, pred:$p, reglist:$regs, variable_ops), - itin, !strconcat(asm, "db${p}.w\t$Rn, $regs"), []> { + itin, !strconcat(asm, "db${p}\t$Rn, $regs"), []> { bits<4> Rn; bits<16> regs; @@ -1539,7 +1539,7 @@ multiclass thumb2_ldst_mult<string asm, InstrItinClass itin, } def DB_UPD : T2XIt<(outs GPR:$wb), (ins GPR:$Rn, pred:$p, reglist:$regs, variable_ops), - itin_upd, !strconcat(asm, "db${p}.w\t$Rn, $regs"), "$Rn = $wb", []> { + itin_upd, !strconcat(asm, "db${p}\t$Rn!, $regs"), "$Rn = $wb", []> { bits<4> Rn; bits<16> regs; |