fw/sdcc
23 years agoFixed references to BuildCmdLine and my_system
jtvolpe [Sun, 20 May 2001 05:00:18 +0000 (05:00 +0000)]
Fixed references to BuildCmdLine and my_system

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

23 years agoTypo fix
jtvolpe [Sun, 20 May 2001 03:35:29 +0000 (03:35 +0000)]
Typo fix

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

23 years agoAdded support functions BuildCmdLine and my_system to utilities
jtvolpe [Sun, 20 May 2001 03:33:47 +0000 (03:33 +0000)]
Added support functions BuildCmdLine and my_system to utilities

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

23 years agoFixed references to BuildCmdLine and my_system
jtvolpe [Sun, 20 May 2001 03:32:52 +0000 (03:32 +0000)]
Fixed references to BuildCmdLine and my_system

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

23 years agoFixed implicit data type conversions
jtvolpe [Sun, 20 May 2001 03:32:06 +0000 (03:32 +0000)]
Fixed implicit data type conversions

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

23 years agoFixed z80 referneces to BuildCmdLine and my_system
jtvolpe [Sun, 20 May 2001 03:30:34 +0000 (03:30 +0000)]
Fixed z80 referneces to BuildCmdLine and my_system

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

23 years agoFixed octal and hex escape sequences in character and string constants
jtvolpe [Sun, 20 May 2001 03:27:03 +0000 (03:27 +0000)]
Fixed octal and hex escape sequences in character and string constants

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

23 years agoFixed up implicit data type conversions
jtvolpe [Sun, 20 May 2001 03:26:07 +0000 (03:26 +0000)]
Fixed up implicit data type conversions

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

23 years agoFixed up implicit data type conversions
jtvolpe [Sun, 20 May 2001 03:19:45 +0000 (03:19 +0000)]
Fixed up implicit data type conversions

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

23 years agoFixed hex/octal escape sequences in character and string constants
jtvolpe [Sun, 20 May 2001 03:17:31 +0000 (03:17 +0000)]
Fixed hex/octal escape sequences in character and string constants

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

23 years agofix for new oct and hex escapes
johanknol [Sat, 19 May 2001 13:39:51 +0000 (13:39 +0000)]
fix for new oct and hex escapes

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

23 years agofixed the octal and hex escape sequences
johanknol [Sat, 19 May 2001 10:16:19 +0000 (10:16 +0000)]
fixed the octal and hex escape sequences

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

23 years agoImplemented the fix of Dario Vecchio
johanknol [Fri, 18 May 2001 17:32:09 +0000 (17:32 +0000)]
Implemented the fix of Dario Vecchio

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

23 years agobeautified --disable-*-port options
kmh [Thu, 17 May 2001 07:03:12 +0000 (07:03 +0000)]
beautified --disable-*-port options

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

23 years agoclean up a bunch of compiler warnings
kvigor [Wed, 16 May 2001 21:29:08 +0000 (21:29 +0000)]
clean up a bunch of compiler warnings

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

23 years agoget Borland makefiles working yet again
kvigor [Wed, 16 May 2001 06:20:33 +0000 (06:20 +0000)]
get Borland makefiles working yet again

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

23 years agoAdded missing files
michaelh [Tue, 15 May 2001 01:07:03 +0000 (01:07 +0000)]
Added missing files

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

23 years agoremoved a warning :)
johanknol [Mon, 14 May 2001 14:08:45 +0000 (14:08 +0000)]
removed a warning :)

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

23 years agofixed the
johanknol [Mon, 14 May 2001 14:07:38 +0000 (14:07 +0000)]
fixed the

int i=100;
printf ("%d", i/8);

bug, where i/8 was replaced by a short (==char :)

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

23 years agoSmall peephole fix
johanknol [Mon, 14 May 2001 10:35:42 +0000 (10:35 +0000)]
Small peephole fix

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

23 years agoSmall peephole fix
johanknol [Mon, 14 May 2001 10:31:09 +0000 (10:31 +0000)]
Small peephole fix

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

23 years agoadded another rule
sandeep [Mon, 14 May 2001 04:14:43 +0000 (04:14 +0000)]
added another rule

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

23 years agoFixed a bug in operandOperation, should not uncoditionally cast to
sandeep [Mon, 14 May 2001 04:12:11 +0000 (04:12 +0000)]
Fixed a bug in operandOperation, should not uncoditionally cast to
unsigned long

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

23 years agoLengthened the maximum filename to 100 chars
michaelh [Mon, 14 May 2001 01:27:00 +0000 (01:27 +0000)]
Lengthened the maximum filename to 100 chars

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

23 years agoLengthened the maximum filename to 256 chars
michaelh [Mon, 14 May 2001 01:26:35 +0000 (01:26 +0000)]
Lengthened the maximum filename to 256 chars

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

23 years agoFixed bugs involving static variables in z80 port; added --lesspedantic option
michaelh [Mon, 14 May 2001 01:25:40 +0000 (01:25 +0000)]
Fixed bugs involving static variables in z80 port; added --lesspedantic option

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

23 years agoMore tests
michaelh [Mon, 14 May 2001 01:24:23 +0000 (01:24 +0000)]
More tests

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

23 years agoFix array bug < foo[foo[3]+2]=10>
jbess [Sun, 13 May 2001 22:28:35 +0000 (22:28 +0000)]
Fix array bug < foo[foo[3]+2]=10>

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

23 years agoAdded log methods, added mod test
michaelh [Sun, 13 May 2001 17:15:54 +0000 (17:15 +0000)]
Added log methods, added mod test

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

23 years agoremoved options.ANSIint
johanknol [Sun, 13 May 2001 15:26:13 +0000 (15:26 +0000)]
removed options.ANSIint

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

23 years agoswitch banks after send, don't saveRegister after switching banks
johanknol [Sun, 13 May 2001 14:59:12 +0000 (14:59 +0000)]
switch banks after send, don't saveRegister after switching banks

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

23 years agoswitch banks after send, don't saveRegister after switching banks
johanknol [Sun, 13 May 2001 14:47:55 +0000 (14:47 +0000)]
switch banks after send, don't saveRegister after switching banks

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

23 years agobankswitched isr example
johanknol [Sun, 13 May 2001 14:43:24 +0000 (14:43 +0000)]
bankswitched isr example

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

23 years agoMore peep to pCode parsing.
sdattalo [Sat, 12 May 2001 14:18:36 +0000 (14:18 +0000)]
More peep to pCode parsing.

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

23 years agotiny improvement to genRet
kvigor [Fri, 11 May 2001 16:38:00 +0000 (16:38 +0000)]
tiny improvement to genRet

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

23 years agofixed the bankswitch critical races
johanknol [Fri, 11 May 2001 15:10:44 +0000 (15:10 +0000)]
fixed the bankswitch critical races

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

23 years agofixed the foo[foo[5]+5]=10 bug
johanknol [Fri, 11 May 2001 10:59:48 +0000 (10:59 +0000)]
fixed the foo[foo[5]+5]=10 bug

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

23 years agouse memcpyx on TINI: up to 432 dhry/sec
kvigor [Fri, 11 May 2001 06:03:03 +0000 (06:03 +0000)]
use memcpyx on TINI: up to 432 dhry/sec

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

23 years agoImproved genFarFarAssign
kvigor [Fri, 11 May 2001 05:47:33 +0000 (05:47 +0000)]
Improved genFarFarAssign

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

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