disabled rule 132.e fixing bug #1453093
authorfrief <frief@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 28 Mar 2006 06:31:03 +0000 (06:31 +0000)
committerfrief <frief@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 28 Mar 2006 06:31:03 +0000 (06:31 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4071 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/mcs51/peeph.def

index 30ddc1307f64e5d0e03b686f8e9f9a79b1de8538..aff964cca292a17405c7f484eb58b8d85b9de2dc 100644 (file)
@@ -722,17 +722,18 @@ replace {
        mov     %3,c
 } if operandsNotRelated('0x00' %2)
 
-replace {
-       clr     c
-       mov     a,%1
-       subb    a,#%2
-       jnc     %5
-} by {
-       ;       Peephole 132.e  optimized genCmpLt by inverse logic (carry differs)
-       mov     a,#0x100 - %2
-       add     a,%1
-       jc      %5
-} if operandsNotRelated('0x00' %2)
+//This peephole caused bug #1453093
+//replace {
+//     clr     c
+//     mov     a,%1
+//     subb    a,#%2
+//     jnc     %5
+//} by {
+//     ;       Peephole 132.e  optimized genCmpLt by inverse logic (carry differs)
+//     mov     a,#0x100 - %2
+//     add     a,%1
+//     jc      %5
+//} if operandsNotRelated('0x00' %2)
 
 replace {
        clr     c