From 62236e0dacefb0dd5fee0d659cac052f2f46e932 Mon Sep 17 00:00:00 2001 From: sandeep Date: Tue, 18 Dec 2001 04:29:59 +0000 Subject: [PATCH] Some peepholes cannot be done in tiniNative mode because "a390" is a STUPID assembler git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1704 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/ds390/peeph.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ds390/peeph.def b/src/ds390/peeph.def index c9175e39..ecea4564 100644 --- a/src/ds390/peeph.def +++ b/src/ds390/peeph.def @@ -1077,7 +1077,7 @@ replace { } by { ; Peephole 182a used 24 bit load of dptr mov dptr,#((%3 << 16) + (%2 << 8) + %1) -} if 24bitMode +} if 24bitModeAndPortDS390 // saving 3 byte, 2 cycles, return(float_constant) profits here replace { @@ -1654,14 +1654,14 @@ replace { } by { mov %1,#(%2 >> 8) xrl %1,#0x80 -} +} if portIsDS390 replace { mov %1,#(( %2 + %3 >> 8 ) ^ 0x80) } by { mov %1,#((%2 + %3) >> 8) xrl %1,#0x80 -} +} if portIsDS390 replace { mov %1,a -- 2.47.2