From: maartenbrock Date: Thu, 24 Mar 2005 17:18:59 +0000 (+0000) Subject: * src/mcs51/peeph.def: fixed bug 1170013 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d78b3b57d3d08c6ed6b2612d6503adf8785e4a03;p=fw%2Fsdcc * src/mcs51/peeph.def: fixed bug 1170013 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3706 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 5f852765..e91caa9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-03-24 Maarten Brock + + * src/mcs51/peeph.def: fixed bug 1170013 + 2005-03-22 Maarten Brock * device/include/mcs51reg.h: fixed bug 842007 diff --git a/src/mcs51/peeph.def b/src/mcs51/peeph.def index 0cd59b83..64742b9d 100644 --- a/src/mcs51/peeph.def +++ b/src/mcs51/peeph.def @@ -524,7 +524,7 @@ replace { } by { ; Peephole 123 jump optimization cjne %1,%2,%3 - smp %4 + sjmp %4 %3: } if labelRefCount %3 1 @@ -3830,7 +3830,7 @@ replace { } if notVolatile %1 // Peepholes 259.x are not compatible with peepholex 250.x -// Peepholes 250.x add jumps to a previously unused label. As the +// Peepholes 250.x add jumps to a previously unused label. As the // labelRefCount is not increased, peepholes 259.x are (mistakenly) applied. // (Mail on sdcc-devel 2004-10-25) // Note: Peepholes 193..199, 251 remove jumps to previously used labels without @@ -3840,7 +3840,7 @@ replace { // applies to f.e. vprintf.c //replace { // sjmp %1 -//%2: +//%2: // ret //} by { // sjmp %1 @@ -3851,7 +3851,7 @@ replace { // applies to f.e. gets.c //replace { // ljmp %1 -//%2: +//%2: // ret //} by { // ljmp %1 @@ -3860,7 +3860,7 @@ replace { //} if labelRefCount %2 0 // optimizing jumptables -// Please note: to enable peephole 260.x you currently have to set +// Please note: to enable peephole 260.x you currently have to set // the environment variable SDCC_SJMP_JUMPTABLE replace { add a,%1