From: tecodev Date: Tue, 4 Jan 2005 11:48:45 +0000 (+0000) Subject: * src/pic16/gen.c (genIfxJump) fixed inverted skips on CARRY X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a75e4c05675bd099e8aa168e16a68a9109683f79;p=fw%2Fsdcc * src/pic16/gen.c (genIfxJump) fixed inverted skips on CARRY * (genIfx) fixed (?) read from uninitialized SPIL_LOC (now assumes CARRY to hold the condition bit) * added new version of genCmp (old code available via #define) * added new version of genShiftLeft/genShiftRight in a generic way, now supports shifting by negative values * (genLeftShiftLiteral, genRightShiftLiteral) use absolute value of shiftCount (expected by genGenericShift) * src/pic16/genarith.c (genPlus) added code for adding CARRY+literal * src/pic16/pcode.c (pic16_OptimizeJumps) removed annoying statistics dump * (pic16_newpCodeOpLit) changed to cast to unsigned char (as e.g. -32766 is an invalid literal too...) git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3627 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index bb24a0b8..eee080e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2005-01-04 Raphael Neider + + * src/pic16/gen.c (genIfxJump) fixed inverted skips on CARRY + * (genIfx) fixed (?) read from uninitialized SPIL_LOC (now assumes CARRY + to hold the condition bit) + * added new version of genCmp (old code available via #define) + * added new version of genShiftLeft/genShiftRight in a generic + way, now supports shifting by negative values + * (genLeftShiftLiteral, genRightShiftLiteral) use absolute value of + shiftCount (expected by genGenericShift) + * src/pic16/genarith.c (genPlus) added code for adding CARRY+literal + * src/pic16/pcode.c (pic16_OptimizeJumps) removed annoying statistics + dump + * (pic16_newpCodeOpLit) changed to cast to unsigned char (as e.g. -32766 + is an invalid literal too...) + 2005-01-04 Vangelis Rokas * src/pic16/gen.c (aopForSym, genEndFunction): applied some fixes