projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Optimised many of the library functions
[fw/sdcc]
/
src
/
z80
/
peeph-z80.def
diff --git
a/src/z80/peeph-z80.def
b/src/z80/peeph-z80.def
index 44a07dfbf165e2b06b01d974306435b08abe3466..90336ddebac53678c64eb8e2e62ddb88fe80d46b 100644
(file)
--- a/
src/z80/peeph-z80.def
+++ b/
src/z80/peeph-z80.def
@@
-1,17
+1,9
@@
-replace restart {
- or a,%1(%2)
- or a,a
- jp nz,%3
-} by {
- or a,%1(%2)
- ; Removed redundent OR
- jp nz,%3
-}
replace restart {
ld a,%1(%2)
bit %3,a
jp %4,%5
} by {
+ ; Rule 100: Removed redundent load
bit %3,%1(%2)
jp %4,%5
}