git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5425
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
+
+ * src/z80/peeph-z80.def:
+ Reenabled peephole 0t.
+
2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
ld b, %2 (%3)
} if notVolatile(%1), notUsed(%1)
ld b, %2 (%3)
} if notVolatile(%1), notUsed(%1)
-// Bug #2728445
-//replace restart {
-// ld %1,a
-// ld %2,%3
-// ld %4,%1
-//} by {
-// ; peephole 0t loaded %4 from a instead of going through %1.
-// ld %1,a
-// ld %2,%3
-// ld %4,a
-//} if notVolatile(%1), operandsNotRelated(%1 %3), operandsNotRelated(%1 %2)
+replace restart {
+ ld %1,a
+ ld %2,%3
+ ld %4,%1
+} by {
+ ; peephole 0t loaded %4 from a instead of going through %1.
+ ld %1,a
+ ld %2,%3
+ ld %4,a
+} if notVolatile(%1), operandsNotRelated(%1 %3), operandsNotRelated(%1 %2)
replace restart {
ld %1,a
replace restart {
ld %1,a