summaryrefslogtreecommitdiff
path: root/utils/libmach/qdb.c
diff options
context:
space:
mode:
authorforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
committerforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
commit45a20ab721a513710138340faff3d59a31c3e01e (patch)
treeeea29d2684c51cc73725b8992a2125bede48e118 /utils/libmach/qdb.c
parentcd8e99851af33e52bcdf8faf34f9d4e62fa0cbaf (diff)
sync compilers with Plan 9
remove 1[acl] 2[acl]
Diffstat (limited to 'utils/libmach/qdb.c')
-rw-r--r--utils/libmach/qdb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/libmach/qdb.c b/utils/libmach/qdb.c
index 14291486..636b5510 100644
--- a/utils/libmach/qdb.c
+++ b/utils/libmach/qdb.c
@@ -672,7 +672,7 @@ static char ir2[] = "R%a,R%d"; /* reverse of IBM order */
static char ir3[] = "R%b,R%a,R%d";
static char ir3r[] = "R%a,R%b,R%d";
static char il3[] = "R%b,R%s,R%a";
-static char il2u[] = "%I,R%a,R%d";
+static char il2u[] = "%I,R%d,R%a";
static char il3s[] = "$%k,R%s,R%a";
static char il2[] = "R%s,R%a";
static char icmp3[] = "R%a,R%b,%D";
@@ -857,6 +857,8 @@ static Opcode opcodes[] = {
{31, 659, ALL, "MOVW", gen, "SEG(R%b),R%d"},
{31, 323, ALL, "MOVW", gen, "DCR(%Q),R%d"},
{31, 451, ALL, "MOVW", gen, "R%s,DCR(%Q)"},
+ {31, 259, ALL, "MOVW", gen, "DCR(R%a),R%d"},
+ {31, 387, ALL, "MOVW", gen, "R%s,DCR(R%a)"},
{31, 144, ALL, "MOVFL", gen, "R%s,%m,CR"},
{63, 70, ALL, "MTFSB0%C", gencc, "%D"},
{63, 38, ALL, "MTFSB1%C", gencc, "%D"},