mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user