]> git.gag.com Git - fw/sdcc/commitdiff
added another rule
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 14 May 2001 04:14:43 +0000 (04:14 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 14 May 2001 04:14:43 +0000 (04:14 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@816 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/mcs51/peeph.def

index 704380cac136d8b5afe50da7b61e3a130d457531..fd974261c6bd350d82c0f8ece56d7d6e039b5e83 100644 (file)
@@ -1772,3 +1772,8 @@ replace {
        mov     dp%1,a
         mov     dps, #0x01
 }
+replace {
+       mov     (%1 + %2 + 3),((%2 + %1) + %3)
+} by {
+       ; Peephole 223 remove redundant move
+}
\ No newline at end of file