* .version: bumped version number to 2.4.5
[fw/sdcc] / src / pic16 / peeph.def
index c0e7b81cf4c37711fb73852a13ad8f595717fbc3..e904c3c4d804b5d0b9437d3c274801e3b19945a5 100644 (file)
 // Also, notice that this snippet is not valid if
 // it follows another skip
 
+
 replace restart {
         _NOTBITSKIP_   %1
        _BITSKIP_       %2
@@ -161,16 +162,16 @@ replace restart {
 } if NZ
 
 // peep 3
-replace restart {
-       decf    %1,f
-       movf    %1,w
-       btfss   _STATUS,z
-       goto    %2
-} by {
-       ;     peep 3 - decf/mov/skpz to decfsz
-       decfsz  %1,f
-        goto   %2
-}
+//replace restart {
+/      decf    %1,f
+///    movf    %1,w
+//     btfss   _STATUS,z
+//     goto    %2
+//} by {
+//     ;     peep 3 - decf/mov/skpz to decfsz
+//     decfsz  %1,f
+//      goto   %2
+//}
 
 
 replace restart {
@@ -283,3 +284,10 @@ replace restart {
         ;     peep 11 - Removed redundant move
         movf    %1,w
 }
+
+replace restart {
+        movff   %1,%1
+} by {
+        ;     peep 12 - Removed redundant move
+}
+