From: maartenbrock Date: Fri, 19 Aug 2005 11:58:00 +0000 (+0000) Subject: * src/mcs51/peeph.def: updated comments X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a3346b12fe0d24c54c4d07ab63d286f3201d27ca;p=fw%2Fsdcc * src/mcs51/peeph.def: updated comments git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3859 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 4bb9e9c5..ed418d4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-08-19 Maarten Brock + + * src/mcs51/peeph.def: updated comments + 2005-08-16 Frieder Ferlemann * device/lib/_gptrget.c, @@ -39,7 +43,7 @@ * device/lib/pic16/libdev/Makefile: recursive make via + and $(MAKE) * device/lib/pic16/libio/Makefile: create sub-make's builddir early, prevents mkdir -p from aborting on Alpha - + 2005-08-12 Raphael Neider * src/pic16/glue.c (pic16_print(G)PointerType): do not flush diff --git a/src/mcs51/peeph.def b/src/mcs51/peeph.def index bcedb0fa..f6b05b3b 100644 --- a/src/mcs51/peeph.def +++ b/src/mcs51/peeph.def @@ -900,25 +900,25 @@ replace { add a,%2 } -// what are #147-#149 for? +// 147: Fix compiler output to comply with 8051 instruction set. replace { orl r%1,a } by { - ; Peephole 147 changed target address mode r%1 to ar%1 + ; Peephole 147.a changed target address mode r%1 to ar%1 orl ar%1,a } replace { anl r%1,a } by { - ; Peephole 148 changed target address mode r%1 to ar%1 + ; Peephole 147.b changed target address mode r%1 to ar%1 anl ar%1,a } replace { xrl r%1,a } by { - ; Peephole 149 changed target address mode r%1 to ar%1 + ; Peephole 147.c changed target address mode r%1 to ar%1 xrl ar%1,a } @@ -2005,7 +2005,7 @@ replace { inc r%1 } -// reverts peephole 159? +// reverts peephole 159? asx8051 cannot handle, too complex? replace { mov %1,#(( %2 >> 8 ) ^ 0x80) } by {