fw/sdcc
23 years agohow the heck did this ever work?
kvigor [Fri, 11 May 2001 05:22:20 +0000 (05:22 +0000)]
how the heck did this ever work?

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@798 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agowork in progress: better FarFarAssign
kvigor [Thu, 10 May 2001 20:27:38 +0000 (20:27 +0000)]
work in progress: better FarFarAssign

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@797 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoupdating examples
johanknol [Thu, 10 May 2001 14:58:52 +0000 (14:58 +0000)]
updating examples

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@796 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoenable BETTER_LITERAL_SHIFT by default
kvigor [Thu, 10 May 2001 06:04:36 +0000 (06:04 +0000)]
enable BETTER_LITERAL_SHIFT by default

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@795 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoupdate for tinibios
kvigor [Thu, 10 May 2001 06:03:27 +0000 (06:03 +0000)]
update for tinibios

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@794 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoan occasionally useful rule
kvigor [Mon, 7 May 2001 20:14:52 +0000 (20:14 +0000)]
an occasionally useful rule

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@793 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofix for broken better shift in ad26.c line 207
kvigor [Mon, 7 May 2001 17:26:32 +0000 (17:26 +0000)]
fix for broken better shift in ad26.c line 207

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@792 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoAdded test suite spec
michaelh [Mon, 7 May 2001 02:20:24 +0000 (02:20 +0000)]
Added test suite spec

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@791 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoMade it possible to run on other people's machines, changed over to rrz80 for the...
michaelh [Sun, 6 May 2001 20:58:05 +0000 (20:58 +0000)]
Made it possible to run on other people's machines, changed over to rrz80 for the z80 emu

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@790 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoTrimmed and added
michaelh [Sun, 6 May 2001 16:01:19 +0000 (16:01 +0000)]
Trimmed and added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@784 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoChanged to rst based system calls
michaelh [Sun, 6 May 2001 16:00:49 +0000 (16:00 +0000)]
Changed to rst based system calls

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@783 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoCommented everything; added 'volatile' to the mix; removed some unneeded itermediate...
michaelh [Sun, 6 May 2001 01:49:05 +0000 (01:49 +0000)]
Commented everything; added 'volatile' to the mix; removed some unneeded itermediate directories.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@782 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoMore peephole to pCode parsing.
sdattalo [Sat, 5 May 2001 22:58:04 +0000 (22:58 +0000)]
More peephole to pCode parsing.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@781 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed up va_args for ppc
michaelh [Sat, 5 May 2001 21:46:11 +0000 (21:46 +0000)]
Fixed up va_args for ppc

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@780 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoCommented the test cases
michaelh [Sat, 5 May 2001 21:32:11 +0000 (21:32 +0000)]
Commented the test cases

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@779 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed up port auto detection to excude the CVS directory
michaelh [Sat, 5 May 2001 21:30:37 +0000 (21:30 +0000)]
Fixed up port auto detection to excude the CVS directory

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@778 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoImported the regression suite
michaelh [Sat, 5 May 2001 21:24:31 +0000 (21:24 +0000)]
Imported the regression suite

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@777 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agouninitialized variable fix by Dario Vecchio
kvigor [Fri, 4 May 2001 22:22:07 +0000 (22:22 +0000)]
uninitialized variable fix by Dario Vecchio

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@776 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agomore work in progress: literal shift improvement
kvigor [Fri, 4 May 2001 22:11:12 +0000 (22:11 +0000)]
more work in progress: literal shift improvement

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@775 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agowork in progress: fixing genLeftShiftLiteral
kvigor [Fri, 4 May 2001 17:49:47 +0000 (17:49 +0000)]
work in progress: fixing genLeftShiftLiteral

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@774 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agotemp file cleanup fix by Dario Vecchio
kvigor [Fri, 4 May 2001 16:42:59 +0000 (16:42 +0000)]
temp file cleanup fix by Dario Vecchio

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@773 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agomore precise noOverLap
kvigor [Fri, 4 May 2001 05:21:11 +0000 (05:21 +0000)]
more precise noOverLap

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@772 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofix overlapping sloc problem
kvigor [Fri, 4 May 2001 04:59:13 +0000 (04:59 +0000)]
fix overlapping sloc problem

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@771 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoslight improvement in generating literal shifts; not as good as re-enabling genLeftSh...
kvigor [Thu, 3 May 2001 23:27:22 +0000 (23:27 +0000)]
slight improvement in generating literal shifts; not as good as re-enabling genLeftShiftLiteral, but much easier

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@770 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoclean up genDjnz for far data case; include same fix for mcs51 port.
kvigor [Thu, 3 May 2001 22:55:21 +0000 (22:55 +0000)]
clean up genDjnz for far data case; include same fix for mcs51 port.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@769 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofix desperate inefficiency of toBoolean when hand;ling a single byte in far space
kvigor [Thu, 3 May 2001 22:24:50 +0000 (22:24 +0000)]
fix desperate inefficiency of toBoolean when hand;ling a single byte in far space

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@768 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofix genDjnz to handle data in far space
kvigor [Thu, 3 May 2001 21:44:16 +0000 (21:44 +0000)]
fix genDjnz to handle data in far space

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@767 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofix several 'three operand in far space' problems
kvigor [Wed, 2 May 2001 20:33:47 +0000 (20:33 +0000)]
fix several 'three operand in far space' problems

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@766 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed a bug in packForpush wasn't extending the
sandeep [Wed, 2 May 2001 04:22:51 +0000 (04:22 +0000)]
Fixed a bug in packForpush wasn't extending the
liveRange of the replacing operand correctly

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@765 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed a warning
sandeep [Sun, 29 Apr 2001 22:32:18 +0000 (22:32 +0000)]
Fixed a warning

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@764 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoAdded some heuristic for register spilling
sandeep [Sun, 29 Apr 2001 22:31:59 +0000 (22:31 +0000)]
Added some heuristic for register spilling

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@763 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoParse peephole snippets to generate pCode
sdattalo [Sun, 29 Apr 2001 15:35:13 +0000 (15:35 +0000)]
Parse peephole snippets to generate pCode

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@762 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agosmall fixes
johanknol [Fri, 27 Apr 2001 18:22:53 +0000 (18:22 +0000)]
small fixes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@761 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoRemoved some more ds390 leftovers in mcs51
johanknol [Fri, 27 Apr 2001 15:15:54 +0000 (15:15 +0000)]
Removed some more ds390 leftovers in mcs51
A better fix for ifx parameters being made REG_CND

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@760 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoCleaning up compiler warnings under MS VC6
jtvolpe [Thu, 26 Apr 2001 04:48:34 +0000 (04:48 +0000)]
Cleaning up compiler warnings under MS VC6

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@759 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoRemoved Release configuration until stable
jtvolpe [Thu, 26 Apr 2001 04:47:28 +0000 (04:47 +0000)]
Removed Release configuration until stable

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@758 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFix ignoring cast bug : void test (unsigned u) { for (; (int) u >= 0;) ++u; }
jbess [Wed, 25 Apr 2001 13:10:37 +0000 (13:10 +0000)]
Fix  ignoring cast bug :  void test (unsigned u) { for (; (int) u >= 0;) ++u; }

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@757 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoeverything * 1 = everything
johanknol [Tue, 24 Apr 2001 18:37:40 +0000 (18:37 +0000)]
everything * 1 = everything

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@756 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoContinuing with VC6 Development - Dependency changes etc.
jtvolpe [Tue, 24 Apr 2001 04:44:15 +0000 (04:44 +0000)]
Continuing with VC6 Development - Dependency changes etc.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@755 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agorestored findCheaperOp, it was not a good idea
johanknol [Mon, 23 Apr 2001 15:45:02 +0000 (15:45 +0000)]
restored findCheaperOp, it was not a good idea

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@754 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agosome enhancement
sandeep [Sun, 22 Apr 2001 20:52:29 +0000 (20:52 +0000)]
some enhancement

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@753 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agomore enhancements for avr & some bug fixes
sandeep [Sun, 22 Apr 2001 20:50:55 +0000 (20:50 +0000)]
more enhancements for avr & some bug fixes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@752 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoDon't ignore casts
johanknol [Sun, 22 Apr 2001 19:22:00 +0000 (19:22 +0000)]
Don't ignore casts

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@751 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoGeneral removal of compiler warnings
jtvolpe [Fri, 20 Apr 2001 03:00:09 +0000 (03:00 +0000)]
General removal of compiler warnings

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@750 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed unary minus on unsigned
jtvolpe [Fri, 20 Apr 2001 02:56:30 +0000 (02:56 +0000)]
Fixed unary minus on unsigned

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@749 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed mixed type compares and conversions
jtvolpe [Fri, 20 Apr 2001 02:49:24 +0000 (02:49 +0000)]
Fixed mixed type compares and conversions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@748 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoChanged name of unlink function for cygnus and MSVC
jtvolpe [Fri, 20 Apr 2001 02:47:03 +0000 (02:47 +0000)]
Changed name of unlink function for cygnus and MSVC

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@747 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed mixed type compares and conversions
jtvolpe [Fri, 20 Apr 2001 02:17:56 +0000 (02:17 +0000)]
Fixed mixed type compares and conversions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@746 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed mixed signed/unsigned compare
jtvolpe [Fri, 20 Apr 2001 02:14:47 +0000 (02:14 +0000)]
Fixed mixed signed/unsigned compare

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@745 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed unary minus on unsigned expressions
jtvolpe [Fri, 20 Apr 2001 02:10:51 +0000 (02:10 +0000)]
Fixed unary minus on unsigned expressions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@744 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoCleaned up MSVC specific stuff
jtvolpe [Fri, 20 Apr 2001 02:06:42 +0000 (02:06 +0000)]
Cleaned up MSVC specific stuff
Fixed unary minus on unsigneds and implicit function definitions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@743 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoCleaned up MSVC specific stuff and unary minus on unsigned variable
jtvolpe [Fri, 20 Apr 2001 01:45:38 +0000 (01:45 +0000)]
Cleaned up MSVC specific stuff and unary minus on unsigned variable

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@742 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoCleaned up MSVC specific stuff
jtvolpe [Fri, 20 Apr 2001 01:45:07 +0000 (01:45 +0000)]
Cleaned up MSVC specific stuff

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@741 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed signed/unsigned compare in newsym
jtvolpe [Fri, 20 Apr 2001 01:43:47 +0000 (01:43 +0000)]
Fixed signed/unsigned compare in newsym

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@740 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoThis file should not be needed anymore
jtvolpe [Fri, 20 Apr 2001 01:42:28 +0000 (01:42 +0000)]
This file should not be needed anymore

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@739 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoCleaned references to machine()
jtvolpe [Thu, 19 Apr 2001 03:10:46 +0000 (03:10 +0000)]
Cleaned references to machine()
Cleaned up MSVC stuff
Removed unused local variable (asexpr.c)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@738 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoDon't set supportRtn for inline code.
johanknol [Fri, 13 Apr 2001 08:26:14 +0000 (08:26 +0000)]
Don't set supportRtn for inline code.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@737 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoremoved peephole 177 because of the:
johanknol [Wed, 11 Apr 2001 08:41:44 +0000 (08:41 +0000)]
removed peephole 177 because of the:

c=SBUF;
SBUF=c;

case

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@736 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoDon't skip iTemp's if there is a function call in between
johanknol [Tue, 10 Apr 2001 11:31:54 +0000 (11:31 +0000)]
Don't skip iTemp's if there is a function call in between

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@735 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed the gencmp setting of supportRtn
johanknol [Tue, 10 Apr 2001 09:05:01 +0000 (09:05 +0000)]
fixed the gencmp setting of supportRtn
cleaned up some things

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@734 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agotemporary fix for op '<' being forwarded to support routine
johanknol [Mon, 9 Apr 2001 19:56:49 +0000 (19:56 +0000)]
temporary fix for op '<' being forwarded to support routine

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@733 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed the (long)<<27 bug
johanknol [Sat, 7 Apr 2001 17:44:39 +0000 (17:44 +0000)]
fixed the (long)<<27 bug

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@732 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed the multiple assignement bug with one in far space
johanknol [Sat, 7 Apr 2001 10:06:50 +0000 (10:06 +0000)]
fixed the multiple assignement bug with one in far space

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@731 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed the undefined static in reentrant functions
johanknol [Fri, 6 Apr 2001 14:59:42 +0000 (14:59 +0000)]
fixed the undefined static in reentrant functions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@730 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoDon't use .dw if the port says so
johanknol [Fri, 6 Apr 2001 14:53:35 +0000 (14:53 +0000)]
Don't use .dw if the port says so

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@729 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agothrow an error for non-constant auto initializers
johanknol [Fri, 6 Apr 2001 12:33:57 +0000 (12:33 +0000)]
throw an error for non-constant auto initializers

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@728 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoUndid a very stupid thing
johanknol [Thu, 5 Apr 2001 12:47:58 +0000 (12:47 +0000)]
Undid a very stupid thing

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@727 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoRemoved unneeded files
drdani [Mon, 2 Apr 2001 13:14:55 +0000 (13:14 +0000)]
Removed unneeded files

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@726 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoversion 0.2.39: fix of arith insts and start of re-structure
drdani [Mon, 2 Apr 2001 13:08:48 +0000 (13:08 +0000)]
version 0.2.39: fix of arith insts and start of re-structure

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@725 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agosplit PIC port gen.c pcodepeep.c into smaller files. Added structure support.
sdattalo [Sun, 1 Apr 2001 15:19:12 +0000 (15:19 +0000)]
split PIC port gen.c pcodepeep.c into smaller files. Added structure support.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@724 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoadded asm file ext to port.
sandeep [Sun, 1 Apr 2001 00:35:44 +0000 (00:35 +0000)]
added asm file ext to port.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@723 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoAdded post increment optimization for msc51 &
sandeep [Sun, 1 Apr 2001 00:35:11 +0000 (00:35 +0000)]
Added post increment optimization for msc51 &
made some progress on AVR

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@722 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoadded post increment optimization
sandeep [Sat, 31 Mar 2001 21:27:50 +0000 (21:27 +0000)]
added post increment optimization

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@721 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years ago--stack-auto and --int-long-reent related things
johanknol [Thu, 29 Mar 2001 15:39:25 +0000 (15:39 +0000)]
--stack-auto and --int-long-reent related things

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@720 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed the first parameter push of --int-long-reent
johanknol [Thu, 29 Mar 2001 13:09:51 +0000 (13:09 +0000)]
fixed the first parameter push of --int-long-reent

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@719 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoremoved some obsolete switches
johanknol [Thu, 29 Mar 2001 13:05:33 +0000 (13:05 +0000)]
removed some obsolete switches
fixed the push of the first parameter with --int-long-reent etc

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@718 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoremoved --noregparms because it is obsolete and caused problems with e.g.
johanknol [Thu, 29 Mar 2001 12:55:03 +0000 (12:55 +0000)]
removed --noregparms because it is obsolete and caused problems with e.g.
--int-long-reent and --stack-auto
removed some other obsolete switches (Lx etc)
fixed -Wa

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@717 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoI got sick of these warnings
johanknol [Wed, 28 Mar 2001 16:27:47 +0000 (16:27 +0000)]
I got sick of these warnings

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@716 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoI got sick of these warnings
johanknol [Wed, 28 Mar 2001 16:19:06 +0000 (16:19 +0000)]
I got sick of these warnings

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@715 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoremoved a warning
johanknol [Mon, 26 Mar 2001 08:49:46 +0000 (08:49 +0000)]
removed a warning

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@714 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoremoved an unused conflicting declaration, bug id # 232488
johanknol [Mon, 26 Mar 2001 08:46:53 +0000 (08:46 +0000)]
removed an unused conflicting declaration, bug id # 232488

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@713 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agolocal variables and parameters will NOT be assigned to xdata
sandeep [Mon, 26 Mar 2001 00:18:22 +0000 (00:18 +0000)]
local variables and parameters will NOT be assigned to xdata
space for large-model.
reuse of sloc space more efficient

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@712 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoPIC Port Added support for subtraction
sdattalo [Sun, 25 Mar 2001 18:24:53 +0000 (18:24 +0000)]
PIC Port Added support for subtraction

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@711 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoFixed the incorrect caching of pointer reference in a loop containing function call
johanknol [Sun, 25 Mar 2001 16:58:14 +0000 (16:58 +0000)]
Fixed the incorrect caching of pointer reference in a loop containing function call

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@710 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed a --stack-auto without --int-long-reent bug
johanknol [Sat, 24 Mar 2001 19:33:27 +0000 (19:33 +0000)]
fixed a --stack-auto without --int-long-reent bug

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@709 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agopCode - register allocation, flow analysis, and peephole.
sdattalo [Sat, 24 Mar 2001 16:00:57 +0000 (16:00 +0000)]
pCode - register allocation, flow analysis, and  peephole.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@708 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agomade unsigned limits unsigned
johanknol [Fri, 23 Mar 2001 15:22:57 +0000 (15:22 +0000)]
made unsigned limits unsigned

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@707 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agois (and was) obsolete
johanknol [Thu, 22 Mar 2001 17:24:59 +0000 (17:24 +0000)]
is (and was) obsolete

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@706 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoRemoved _float.h and all references to it
johanknol [Thu, 22 Mar 2001 16:59:50 +0000 (16:59 +0000)]
Removed _float.h and all references to it
fixed vprintf.c for %c
fixed packihx/config_in.h for solaris
removed a warning for SDCCicode.c
maybe some others

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@705 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoMultiple instances of #ifdef COC & C1M1C removed
bela [Thu, 22 Mar 2001 13:13:07 +0000 (13:13 +0000)]
Multiple instances of #ifdef COC & C1M1C removed

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@704 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years ago#ifdev REG8051_H bug corrected
bela [Thu, 22 Mar 2001 13:11:22 +0000 (13:11 +0000)]
#ifdev REG8051_H bug corrected

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@703 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoWarning - this file is obsolete added
bela [Thu, 22 Mar 2001 10:04:32 +0000 (10:04 +0000)]
Warning - this file is obsolete added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@702 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoInitial release
bela [Thu, 22 Mar 2001 10:02:00 +0000 (10:02 +0000)]
Initial release

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@701 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoInitial release
bela [Thu, 22 Mar 2001 09:35:51 +0000 (09:35 +0000)]
Initial release

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@700 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoWarnig - obsolete added
bela [Thu, 22 Mar 2001 09:23:49 +0000 (09:23 +0000)]
Warnig - obsolete added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@699 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoInitial release
bela [Thu, 22 Mar 2001 09:20:47 +0000 (09:20 +0000)]
Initial release

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@698 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoDS390 support is still beta
bela [Thu, 22 Mar 2001 09:18:37 +0000 (09:18 +0000)]
DS390 support is still beta

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@697 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agoWarnig - obsolete added
bela [Thu, 22 Mar 2001 09:17:33 +0000 (09:17 +0000)]
Warnig - obsolete added

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@696 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed the:
johanknol [Wed, 21 Mar 2001 13:36:41 +0000 (13:36 +0000)]
fixed the:
void test(unsigned char datain)
{
  datain &= 0x39;
  if (datain)
    putchar ('1');
  else
    putchar ('0');
}
bug

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@695 4a8a32a2-be11-0410-ad9d-d568d2c75423

23 years agofixed the bit=~bit bug
johanknol [Tue, 20 Mar 2001 20:38:34 +0000 (20:38 +0000)]
fixed the bit=~bit bug

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@694 4a8a32a2-be11-0410-ad9d-d568d2c75423