+2008-08-14 Philipp Klaus Krause <pkk AT spth.de>
+
+ * src/z80/peep.c,
+ * src/z80/peeph-z80.def: minor peephole improvement
+
+
2008-08-15 Raphael Neider <rneider AT web.de>
* src/z80/gen.c (_vemit2): suppress compiler warning
strncmp(pl->line, "rl\t", 3) == 0 ||
strncmp(pl->line, "rr\t", 3) == 0 ||
strncmp(pl->line, "sla\t", 4) == 0 ||
+ strncmp(pl->line, "sra\t", 4) == 0 ||
strncmp(pl->line, "srl\t", 4) == 0)
{
return (strstr(pl->line + 3, what) != 0);
push de
} if notUsed('de'), notUsed('hl')
+replace restart {
+ ex de,hl
+ push de
+} by {
+ ; peephole 0k' pushed de directly instead of going through hl.
+ push hl
+} if notUsed('de'), notUsed('hl')
+
replace restart {
ex de,hl
push bc