* src/mcs51/peeph.def: fixed bug 1170013
authormaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Mar 2005 17:18:59 +0000 (17:18 +0000)
committermaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Mar 2005 17:18:59 +0000 (17:18 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3706 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/mcs51/peeph.def

index 5f8527659be3716bc0a518678892ce1dd6bd55cd..e91caa9c8803aa51bd549690da972dabca957e6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/peeph.def: fixed bug 1170013
+
 2005-03-22 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * device/include/mcs51reg.h: fixed bug 842007
index 0cd59b8352b24f618ca53b9571d218e4b0c4d5be..64742b9d5f7d49b6616d712ef33070f99737d5df 100644 (file)
@@ -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