git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5309
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2008-12-29 Philipp Klaus Krause <pkk AT spth.de>
+
+ * src/z80/peeph-z80.def:
+ Minor peephole improvement.
+
2008-12-29 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (insertBankSel, FixRegisterBanking): emit
inc hl
} if notUsed('bc')
+// Catch double and triple incs before later peepholes introduce an ex de,hl in here.
+replace restart {
+ inc de
+ inc de
+ ld l,e
+ ld h,d
+} by {
+ ld l,e
+ ld h,d
+ ; peephole 0h' incremented in hl instead of de.
+ inc hl
+ inc hl
+} if notUsed('de')
+
replace restart {
inc de
ld l,e