projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed compound expressions of the type y = (x+K) OP B, where x and y are variables...
[fw/sdcc]
/
src
/
pic
/
peeph.def
diff --git
a/src/pic/peeph.def
b/src/pic/peeph.def
index 0dccf7b06ef91d512f93bf939f3a127a4f353417..f705c9e53c4a817938147afd83cd11e597761e5d 100644
(file)
--- a/
src/pic/peeph.def
+++ b/
src/pic/peeph.def
@@
-283,3
+283,11
@@
replace restart {
; peep 11 - Removed redundant move
movf %1,w
}
+
+replace restart {
+ comf %1,w
+ movwf %1
+} by {
+ ; peep 12 - Removed redundant move
+ comf %1,f
+}