Z80 peephole improvements - Implemented RFE #1919415, #1861376, #1880202, #1914434...
[fw/sdcc] / src / z80 / peeph.def
index 9fd073d688f13fdb31038f39d1442acba74e4943..365e5531f59afbbf262457e11cec9a12e4ba6214 100644 (file)
@@ -1,5 +1,7 @@
-replace restart {
-       ld %1,%1
-} by {
-       ; Removed redundent load
-}
+// peeph.def - Common Z80 and gbz80 peephole rules
+
+// This file should contain common Z80/GBZ80 peepholes.
+// However the GBZ80 port is currently unmaintained;
+// a GBZ80 expert could extract peepholes that are useful for both Z80 and GBZ80
+// from peeph-z80.def and peeph-gbz80.def and move them here.
+