diff --git a/mach/pdp/top/table b/mach/pdp/top/table index 756c6c3df..7de05c47c 100644 --- a/mach/pdp/top/table +++ b/mach/pdp/top/table @@ -28,10 +28,13 @@ add ZERO,A {carry_dead(REST)} -> ; add ONE, X {carry_dead(REST)} -> inc X; sub ONE, X {carry_dead(REST)} -> dec X; +mov A,A -> tst A; + /* tst-elimination */ tst (sp)+ : tst X -> mov X,(sp)+; tst (sp)+ : mov X,-(sp) -> mov X,(sp); mov A,X : tst A -> mov A,X; +mov X,A : tst A -> mov X,A; /* register subsumption */ mov REG,A : ANY A,X -> mov REG,A : ANY REG,X;