fw/sdcc
24 years agoGet compiling with Vorland C++ for Windows
kvigor [Sun, 27 Feb 2000 05:41:53 +0000 (05:41 +0000)]
Get compiling with Vorland C++ for Windows

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

24 years agowas generating bad code for situations like
sandeep [Fri, 25 Feb 2000 23:35:19 +0000 (23:35 +0000)]
was generating bad code for situations like
a & b (a and b both ints sizeof() > 1)

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

24 years agopointer op problem.. with array if structures
sandeep [Fri, 25 Feb 2000 17:43:00 +0000 (17:43 +0000)]
pointer op problem.. with array if structures

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

24 years ago* Fixed addrOf bug, more packing for gbz80.
michaelh [Fri, 25 Feb 2000 02:52:29 +0000 (02:52 +0000)]
* Fixed addrOf bug, more packing for gbz80.

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

24 years agofixed some pointer optimizations
sandeep [Thu, 24 Feb 2000 22:19:52 +0000 (22:19 +0000)]
fixed some pointer optimizations

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

24 years agosome more pointer stuff fixed array of pointers
sandeep [Thu, 24 Feb 2000 21:33:12 +0000 (21:33 +0000)]
some more pointer stuff fixed array of pointers
post & pre increment & decrement of pointers

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

24 years agoOnly generate jump to sdcc_program_startup in module containing main()
kvigor [Thu, 24 Feb 2000 19:15:39 +0000 (19:15 +0000)]
Only generate jump to sdcc_program_startup in module containing main()

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

24 years agotakes care of the parm bytes problem
sandeep [Thu, 24 Feb 2000 19:10:39 +0000 (19:10 +0000)]
takes care of the parm bytes problem

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

24 years agoperl hack to pack an Intel HEX format output file
kvigor [Thu, 24 Feb 2000 18:10:42 +0000 (18:10 +0000)]
perl hack to pack an Intel HEX format output file

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

24 years agoaliasing for unions bug.
sandeep [Wed, 23 Feb 2000 19:11:09 +0000 (19:11 +0000)]
aliasing for unions bug.

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

24 years agoHacked bug re: pointer get.
michaelh [Wed, 23 Feb 2000 03:05:46 +0000 (03:05 +0000)]
Hacked bug re: pointer get.

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

24 years agofixed bug for bit complement
sandeep [Tue, 22 Feb 2000 21:50:29 +0000 (21:50 +0000)]
fixed bug for bit complement

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

24 years agoconversion fromto float needs only one parm
sandeep [Tue, 22 Feb 2000 20:19:41 +0000 (20:19 +0000)]
conversion fromto float needs only one parm

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

24 years ago1) glue.c added jump to __sdcc_program_start after gsinit.
sandeep [Tue, 22 Feb 2000 19:24:47 +0000 (19:24 +0000)]
1) glue.c added jump to __sdcc_program_start after gsinit.
2) mem.c locals declared 'data' should goto 'data' even in --model-large

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

24 years agoLots.
michaelh [Tue, 22 Feb 2000 04:02:54 +0000 (04:02 +0000)]
Lots.

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

24 years agoAdded peephole.
michaelh [Sun, 20 Feb 2000 05:29:34 +0000 (05:29 +0000)]
Added peephole.

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

24 years agoNice. Up to 85.55 C / 157.52 asm. Is now definatly better code than gbdk.
michaelh [Sun, 20 Feb 2000 05:28:38 +0000 (05:28 +0000)]
Nice.  Up to 85.55 C / 157.52 asm.  Is now definatly better code than gbdk.

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

24 years ago* Runs dhrystone. 68.83d/s with terrible code.
michaelh [Sat, 19 Feb 2000 19:42:56 +0000 (19:42 +0000)]
* Runs dhrystone.  68.83d/s with terrible code.

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

24 years ago* Added iCodeSE patch
michaelh [Sat, 19 Feb 2000 05:08:06 +0000 (05:08 +0000)]
* Added iCodeSE patch
* Fixed genPointerGet, genPCall.

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

24 years agoAdded support for the gb, touched some files in testing the port.
michaelh [Thu, 17 Feb 2000 05:24:36 +0000 (05:24 +0000)]
Added support for the gb, touched some files in testing the port.

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

24 years agoflat 24: mung fReturnSize before packing registers to get packRegForOneUse working...
kvigor [Wed, 16 Feb 2000 20:14:36 +0000 (20:14 +0000)]
flat 24: mung fReturnSize before packing registers to get packRegForOneUse working properly in flat24 mode

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

24 years ago* Z80 should work again now.
michaelh [Wed, 16 Feb 2000 05:42:53 +0000 (05:42 +0000)]
* Z80 should work again now.

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

24 years ago* Added support for the gb.
michaelh [Wed, 16 Feb 2000 04:20:26 +0000 (04:20 +0000)]
* Added support for the gb.

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

24 years agoLeft some debugs turned on in previous commit
kvigor [Mon, 14 Feb 2000 23:35:57 +0000 (23:35 +0000)]
Left some debugs turned on in previous commit

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

24 years agoMinor optimization for 8051 tail increment/decrement
kvigor [Mon, 14 Feb 2000 23:32:44 +0000 (23:32 +0000)]
Minor optimization for 8051 tail increment/decrement

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

24 years agoNow the pointer_type information of a storeage
sandeep [Sun, 13 Feb 2000 17:32:05 +0000 (17:32 +0000)]
Now the pointer_type information of a storeage
class is stored in the memory-map don't need
ugly ifs just get it from the ocls data-structure.

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

24 years ago* Now can use acc for short lived varibles.
michaelh [Sun, 13 Feb 2000 01:12:59 +0000 (01:12 +0000)]
* Now can use acc for short lived varibles.
* Added a few peephole rules
* At 98 d/s - so close to 100... :)

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

24 years agoBetter packAssign
michaelh [Sat, 12 Feb 2000 06:26:12 +0000 (06:26 +0000)]
Better packAssign

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

24 years agoMisc flat 24 stack handling fixes
kvigor [Fri, 11 Feb 2000 21:40:27 +0000 (21:40 +0000)]
Misc flat 24 stack handling fixes

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

24 years agoCosmetic change in peeph.c
sandeep [Fri, 11 Feb 2000 20:05:13 +0000 (20:05 +0000)]
Cosmetic change in peeph.c
Found better way to handle Michaels spillocation
problem cse.c

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

24 years agodirectory name changed
sandeep [Fri, 11 Feb 2000 00:26:28 +0000 (00:26 +0000)]
directory name changed

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

24 years agoSome new peephole optimizations, primarily for 24 bit flat mode; also use dpx for...
kvigor [Thu, 10 Feb 2000 21:44:58 +0000 (21:44 +0000)]
Some new peephole optimizations, primarily for 24 bit flat mode; also use dpx for parameters in 24 bit mode.

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

24 years agoAdded statics
michaelh [Thu, 10 Feb 2000 06:11:02 +0000 (06:11 +0000)]
Added statics

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

24 years agoAdded comment on latest dhrystone result.
michaelh [Thu, 10 Feb 2000 05:48:25 +0000 (05:48 +0000)]
Added comment on latest dhrystone result.

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

24 years agoRight.
michaelh [Thu, 10 Feb 2000 05:46:45 +0000 (05:46 +0000)]
Right.
* Added t-state counter to crt0.s
* Shifted peephole rules into platform directories
* Turned on some of the reg packing under z80
* Added some dumb stdinclude files as a hack

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

24 years ago* dhry.c is clean-ish. Works on z80, compiles on mcs51, untested.
michaelh [Thu, 10 Feb 2000 02:43:05 +0000 (02:43 +0000)]
* dhry.c is clean-ish.  Works on z80, compiles on mcs51, untested.

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

24 years ago24 bit flat mode: handle generic pointer arithmetic
kvigor [Thu, 10 Feb 2000 01:31:17 +0000 (01:31 +0000)]
24 bit flat mode: handle generic pointer arithmetic

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

24 years ago24 bit flat mode: get call via function pointer working
kvigor [Wed, 9 Feb 2000 22:07:41 +0000 (22:07 +0000)]
24 bit flat mode: get call via function pointer working

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

24 years agoFirst pass at DS80C390 flat mode support
kvigor [Wed, 9 Feb 2000 18:09:01 +0000 (18:09 +0000)]
First pass at DS80C390 flat mode support

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

24 years agowork on avr port start by defining the new
sandeep [Wed, 9 Feb 2000 01:38:44 +0000 (01:38 +0000)]
work on avr port start by defining the new
memory maps & extra keywords.

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

24 years agoMore 24 bit flat mode support: handles "expr >> 16" relocations
kvigor [Tue, 8 Feb 2000 20:57:34 +0000 (20:57 +0000)]
More 24 bit flat mode support: handles "expr >> 16" relocations

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

24 years agoSpill-location updated incorrectly
sandeep [Tue, 8 Feb 2000 20:47:01 +0000 (20:47 +0000)]
Spill-location updated incorrectly

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

24 years ago1) SDCC_(target) new preprocessor define added
sandeep [Tue, 8 Feb 2000 06:50:04 +0000 (06:50 +0000)]
1) SDCC_(target) new preprocessor define added
2) variables being allocated to xstack in large model without
   --use-xstack option

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

24 years agoMildly better genCmp - still pretty bad.
michaelh [Tue, 8 Feb 2000 03:46:14 +0000 (03:46 +0000)]
Mildly better genCmp - still pretty bad.

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

24 years ago* Changed timing support to work directly of ConsoleZ80's tick count
michaelh [Tue, 8 Feb 2000 03:21:27 +0000 (03:21 +0000)]
* Changed timing support to work directly of ConsoleZ80's tick count
* Mild cleaning of dhry.c
* Improved iPush in gen.c, benchmarked

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

24 years agosome more parmBytes problem stack not adjusted
sandeep [Mon, 7 Feb 2000 18:28:19 +0000 (18:28 +0000)]
some more parmBytes problem stack not adjusted
when call made to reentrant support functions
eg (when _moduint/_muluint ...etc are called)

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

24 years agonewest ucsim is in sim/ucsim
drdani [Mon, 7 Feb 2000 10:47:29 +0000 (10:47 +0000)]
newest ucsim is in sim/ucsim

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 09:18:27 +0000 (09:18 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 08:24:57 +0000 (08:24 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoKevin Vigor's fix for Solaris
drdani [Mon, 7 Feb 2000 08:08:07 +0000 (08:08 +0000)]
Kevin Vigor's fix for Solaris

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 08:07:02 +0000 (08:07 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoremove compiled test files
drdani [Mon, 7 Feb 2000 07:59:35 +0000 (07:59 +0000)]
remove compiled test files

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

24 years agogenerated files removed
drdani [Mon, 7 Feb 2000 07:58:16 +0000 (07:58 +0000)]
generated files removed

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

24 years agoucsim-0.2.37-pre3 into cvs
drdani [Mon, 7 Feb 2000 07:47:30 +0000 (07:47 +0000)]
ucsim-0.2.37-pre3 into cvs

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

24 years agoucsim-0.2.37-pre3 into CVS
drdani [Mon, 7 Feb 2000 07:44:03 +0000 (07:44 +0000)]
ucsim-0.2.37-pre3 into CVS

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

24 years agoAdded timing and asm implementations of strcpy, strcmp, memcpy.
michaelh [Mon, 7 Feb 2000 05:35:29 +0000 (05:35 +0000)]
Added timing and asm implementations of strcpy, strcmp, memcpy.
Now up to 174 d/s.

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

24 years ago* Got dhrystone working - 83/s on a 4MHz Z80!
michaelh [Mon, 7 Feb 2000 03:26:37 +0000 (03:26 +0000)]
* Got dhrystone working - 83/s on a 4MHz Z80!
* Has hack re stack munching of __mulsint

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

24 years ago* Added a simple version of printf()
michaelh [Mon, 7 Feb 2000 01:15:25 +0000 (01:15 +0000)]
* Added a simple version of printf()
* Added more tests to dhrystone as it's not anywhere near working :)
* Remove the signed part from genCmp - is now broken.

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

24 years agoAdd 24 bit flat mode support for DS80C390 to assembler and linker
kvigor [Sun, 6 Feb 2000 20:29:41 +0000 (20:29 +0000)]
Add 24 bit flat mode support for DS80C390 to assembler and linker

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

24 years ago* Added a simple Intel IHX to ROM image converter. Will be removed when
michaelh [Sun, 6 Feb 2000 19:08:17 +0000 (19:08 +0000)]
* Added a simple Intel IHX to ROM image converter.  Will be removed when
  link-z80 supports blobs directly.

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

24 years ago* Improved the pop params code
michaelh [Sun, 6 Feb 2000 19:07:10 +0000 (19:07 +0000)]
* Improved the pop params code
* dhry.c now compiles and links for the z80
* Added simple z80 lib files and a stub strings.c

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

24 years agoFixed several problems
sandeep [Sun, 6 Feb 2000 09:01:35 +0000 (09:01 +0000)]
Fixed several problems
1) Enum problems
2) parmBytes not set correctly
3) copyiCode

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

24 years ago* Minor chage to glue re hard coded segs
michaelh [Sun, 6 Feb 2000 06:17:31 +0000 (06:17 +0000)]
* Minor chage to glue re hard coded segs
* Added jump table support, some signed support.

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

24 years ago* Fixed a couple of types in SDCCicode.c
michaelh [Sun, 6 Feb 2000 04:08:50 +0000 (04:08 +0000)]
* Fixed a couple of types in SDCCicode.c
* Changed the include and libs directories from sdcc51inc to include.

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

24 years agoAdded dhrystone test to test the compiler
michaelh [Sun, 6 Feb 2000 04:07:41 +0000 (04:07 +0000)]
Added dhrystone test to test the compiler

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

24 years agoFixed Sandeep's typos :)
michaelh [Sun, 6 Feb 2000 03:09:23 +0000 (03:09 +0000)]
Fixed Sandeep's typos :)

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

24 years agoinfrastucture for reducing spills
sandeep [Sat, 5 Feb 2000 19:03:07 +0000 (19:03 +0000)]
infrastucture for reducing spills

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

24 years agoChanged it so each target can have their own command line.
michaelh [Fri, 4 Feb 2000 04:27:28 +0000 (04:27 +0000)]
Changed it so each target can have their own command line.

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

24 years agoChanged the command builder to something a bit more extendable. I dont
michaelh [Fri, 4 Feb 2000 03:45:26 +0000 (03:45 +0000)]
Changed the command builder to something a bit more extendable.  I dont
know if I got all of the options - linker is unchecked.

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

24 years agoMade configure use the native libgc if available. Saves 40k on the exec.
michaelh [Wed, 2 Feb 2000 06:10:06 +0000 (06:10 +0000)]
Made configure use the native libgc if available.  Saves 40k on the exec.

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

24 years agoMinor bug fixes
sandeep [Tue, 1 Feb 2000 20:55:24 +0000 (20:55 +0000)]
Minor bug fixes

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

24 years agofixed two problems
sandeep [Tue, 1 Feb 2000 17:47:18 +0000 (17:47 +0000)]
fixed two problems
a) variables declared as "bit" should not be assigned to registers
b) should not reorder instructions if there is a volatile assignment

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

24 years agoInclude file for Makefile with clean target
drdani [Mon, 31 Jan 2000 08:41:09 +0000 (08:41 +0000)]
Include file for Makefile with clean target

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

24 years agoFix clean
drdani [Mon, 31 Jan 2000 08:40:09 +0000 (08:40 +0000)]
Fix clean
drdani

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

24 years agonew file for Makefile
drdani [Mon, 31 Jan 2000 08:38:18 +0000 (08:38 +0000)]
new file for Makefile

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

24 years agoSDCCglue.h included
drdani [Mon, 31 Jan 2000 08:38:16 +0000 (08:38 +0000)]
SDCCglue.h included
drdani

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

24 years agoFix clean
drdani [Mon, 31 Jan 2000 08:34:18 +0000 (08:34 +0000)]
Fix clean
drdani

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

24 years agoFix distclean
drdani [Mon, 31 Jan 2000 08:32:30 +0000 (08:32 +0000)]
Fix distclean
drdani

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

24 years agoaopLiteral() included
drdani [Mon, 31 Jan 2000 08:30:43 +0000 (08:30 +0000)]
aopLiteral() included
drdani

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

24 years agofix def of aopLiteral()
drdani [Mon, 31 Jan 2000 08:29:45 +0000 (08:29 +0000)]
fix def of aopLiteral()
drdani

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

24 years agoMinor fixes
drdani [Mon, 31 Jan 2000 08:24:46 +0000 (08:24 +0000)]
Minor fixes
drdani

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

24 years agoFix some comments
drdani [Mon, 31 Jan 2000 08:24:06 +0000 (08:24 +0000)]
Fix some comments
drdani

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

24 years agoFix a comment
drdani [Mon, 31 Jan 2000 08:13:48 +0000 (08:13 +0000)]
Fix a comment
drdani

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

24 years agoFix a warning
drdani [Mon, 31 Jan 2000 08:06:38 +0000 (08:06 +0000)]
Fix a warning
drdani

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

24 years agoFix of distclean target and a new: newer
drdani [Mon, 31 Jan 2000 08:03:41 +0000 (08:03 +0000)]
Fix of distclean target and a new: newer
drdani

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

24 years agoDelete Makefile.common (generated file)
drdani [Mon, 31 Jan 2000 08:02:25 +0000 (08:02 +0000)]
Delete Makefile.common (generated file)
drdani

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

24 years agoa) fixed some aliasing problems
sandeep [Mon, 31 Jan 2000 04:17:23 +0000 (04:17 +0000)]
a) fixed some aliasing problems
b) Made language extension keywords e.g 'data'... target specific

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

24 years agoBuild related changes (don't know why it did not commit
sandeep [Sat, 29 Jan 2000 23:09:01 +0000 (23:09 +0000)]
Build related changes (don't know why it did not commit
the first time)

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

24 years agoBug Fixes
sandeep [Sat, 29 Jan 2000 18:06:27 +0000 (18:06 +0000)]
Bug Fixes

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

24 years agomore make/build related stuff
sandeep [Sat, 29 Jan 2000 00:42:02 +0000 (00:42 +0000)]
more make/build related stuff

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

24 years agoremoved makefile
sandeep [Fri, 28 Jan 2000 23:36:57 +0000 (23:36 +0000)]
removed makefile

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

24 years agoFixed for build
sandeep [Fri, 28 Jan 2000 22:57:01 +0000 (22:57 +0000)]
Fixed for build

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

24 years agoRemove icodes from the iCodeHashTable when
sandeep [Fri, 28 Jan 2000 22:55:42 +0000 (22:55 +0000)]
Remove icodes from the iCodeHashTable when
they are deleted during register packing

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

24 years agoChanges to build cleanly
sandeep [Fri, 28 Jan 2000 21:55:30 +0000 (21:55 +0000)]
Changes to build cleanly

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

24 years ago*** empty log message ***
sandeep [Thu, 27 Jan 2000 02:06:07 +0000 (02:06 +0000)]
*** empty log message ***

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

24 years agoFixed
michaelh [Mon, 24 Jan 2000 02:37:21 +0000 (02:37 +0000)]
Fixed

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

24 years agoAdded old snapshot makefile.
michaelh [Mon, 24 Jan 2000 02:33:41 +0000 (02:33 +0000)]
Added old snapshot makefile.

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

24 years agoAdded initial stack direction support. Didnt convert xstack but are
michaelh [Mon, 24 Jan 2000 02:29:19 +0000 (02:29 +0000)]
Added initial stack direction support.  Didnt convert xstack but are
straight forward.  Works on z80.

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

24 years agoAdded ports info to --help and --version.
michaelh [Sun, 23 Jan 2000 19:39:37 +0000 (19:39 +0000)]
Added ports info to --help and --version.

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

24 years agoAdded note on re-targeting.
michaelh [Sun, 23 Jan 2000 19:26:08 +0000 (19:26 +0000)]
Added note on re-targeting.

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