ld b, %2 (%3)
} if notVolatile(%1), notUsed(%1)
-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)
+// 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
// ; peephole 50 shortened or using a (which has just been tested to be #0x00).
//} if operandsNotSame3(%3 '(bc)' '(de)')
-replace restart {
- sub a,%1
- jp NZ,%2
- ld a,%3
- or a,a
-} by {
- sub a,%1
- jp NZ,%2
- or a,%3
- ; peephole 51 shortened or using a (which has just been tested to be #0x00).
-}
+// Commented out sine it triggers for %3 od the form (#...)
+//replace restart {
+// sub a,%1
+// jp NZ,%2
+// ld a,%3
+// or a,a
+//} by {
+// sub a,%1
+// jp NZ,%2
+// or a,%3
+// ; peephole 51 shortened or using a (which has just been tested to be #0x00).
+//}
//if operandsNotSame3(%3 '(bc)' '(de)')
replace restart {