git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2398
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2003-03-17 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek
+
2003-03-16 <johan@balder>
Undid the hackup of const and volatile, the problem is much bigger
2003-03-16 <johan@balder>
Undid the hackup of const and volatile, the problem is much bigger
replace {
mov %1,#(( %2 >> 8 ) ^ 0x80)
replace {
mov %1,#(( %2 >> 8 ) ^ 0x80)
+} by {
+ ; Peephole 213.a inserted fix
mov %1,#(%2 >> 8)
xrl %1,#0x80
} if portIsDS390
mov %1,#(%2 >> 8)
xrl %1,#0x80
} if portIsDS390
+replace {
+ mov %1,#(( %2 >> 16 ) ^ 0x80)
+} by {
+ ; Peephole 213.b inserted fix
+ mov %1,#(%2 >> 16)
+ xrl %1,#0x80
+} if portIsDS390
+
replace {
mov %1,#(( %2 + %3 >> 8 ) ^ 0x80)
} by {
replace {
mov %1,#(( %2 + %3 >> 8 ) ^ 0x80)
} by {
+ ; Peephole 213.c inserted fix
mov %1,#((%2 + %3) >> 8)
xrl %1,#0x80
} if portIsDS390
mov %1,#((%2 + %3) >> 8)
xrl %1,#0x80
} if portIsDS390