summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-09-07 18:39:47 +0000
committerJim Grosbach <grosbach@apple.com>2011-09-07 18:39:47 +0000
commit42b5570850be93b4712b73d8b5d25fcf676d73bc (patch)
treea4f29ed40970e6b0c5a834b1627493a7e069fec2
parenta31f223af8f493f6f994707524b10001f98b16d0 (diff)
downloadbcm5719-llvm-42b5570850be93b4712b73d8b5d25fcf676d73bc.tar.gz
bcm5719-llvm-42b5570850be93b4712b73d8b5d25fcf676d73bc.zip
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. llvm-svn: 139243
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index dabbeedfeed..3c915576381 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/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;
OpenPOWER on IntegriCloud