summaryrefslogtreecommitdiff
path: root/utils/8c/peep.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/8c/peep.c
parentcd8e99851af33e52bcdf8faf34f9d4e62fa0cbaf (diff)
sync compilers with Plan 9
remove 1[acl] 2[acl]
Diffstat (limited to 'utils/8c/peep.c')
-rw-r--r--utils/8c/peep.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/8c/peep.c b/utils/8c/peep.c
index 3d98b771..5f61925d 100644
--- a/utils/8c/peep.c
+++ b/utils/8c/peep.c
@@ -275,6 +275,9 @@ subprop(Reg *r0)
case ACWD:
case ACDQ:
+ case ASTOSB:
+ case ASTOSL:
+ case AMOVSB:
case AMOVSL:
case AFSTSW:
return 0;
@@ -645,11 +648,18 @@ copyu(Prog *p, Adr *v, Adr *s)
return 2;
goto caseread;
+ case AMOVSB:
case AMOVSL:
if(v->type == D_DI || v->type == D_SI)
return 2;
goto caseread;
+ case ASTOSB:
+ case ASTOSL:
+ if(v->type == D_AX || v->type == D_DI)
+ return 2;
+ goto caseread;
+
case AFSTSW:
if(v->type == D_AX)
return 2;