Fixed compound expressions of the type y = (x+K) OP B, where x and y are variables...
[fw/sdcc] / src / pic / peeph.def
index 0dccf7b06ef91d512f93bf939f3a127a4f353417..f705c9e53c4a817938147afd83cd11e597761e5d 100644 (file)
@@ -283,3 +283,11 @@ replace restart {
         ;     peep 11 - Removed redundant move
         movf    %1,w
 }
+
+replace restart {
+        comf    %1,w
+        movwf   %1
+} by {
+        ;     peep 12 - Removed redundant move
+        comf    %1,f
+}