fw/sdcc
24 years agoAdd AVR to Borland C++ makefiles
kvigor [Thu, 23 Mar 2000 17:25:32 +0000 (17:25 +0000)]
Add AVR to Borland C++ makefiles

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

24 years agoAdded some pointer pre inc/dec optimization
sandeep [Thu, 23 Mar 2000 08:04:23 +0000 (08:04 +0000)]
Added some pointer pre inc/dec optimization

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

24 years agoadded avr to makefile.in & fixed a bug in cse.c
sandeep [Tue, 21 Mar 2000 18:47:20 +0000 (18:47 +0000)]
added avr to makefile.in & fixed a bug in cse.c

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

24 years agomore on AVR
sandeep [Mon, 20 Mar 2000 01:07:22 +0000 (01:07 +0000)]
more on AVR

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

24 years agoMore AVR stuff
sandeep [Mon, 20 Mar 2000 00:30:42 +0000 (00:30 +0000)]
More AVR stuff

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

24 years agolots of progress in AVR
sandeep [Sun, 19 Mar 2000 23:43:25 +0000 (23:43 +0000)]
lots of progress in AVR

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

24 years agomaking progress with AVR
sandeep [Sat, 18 Mar 2000 22:04:32 +0000 (22:04 +0000)]
making progress with AVR

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

24 years agoFix of prompt problem if ucsim runs in background mode (-r option)
drdani [Wed, 15 Mar 2000 14:49:27 +0000 (14:49 +0000)]
Fix of prompt problem if ucsim runs in background mode (-r option)

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

24 years agoFixed address of array
sandeep [Tue, 14 Mar 2000 18:10:35 +0000 (18:10 +0000)]
Fixed address of array

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

24 years ago1) fixed problem in global structure init
sandeep [Mon, 13 Mar 2000 19:01:43 +0000 (19:01 +0000)]
1) fixed problem in global structure init

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

24 years agoparameter passing in registers changed to be
sandeep [Sun, 12 Mar 2000 00:22:58 +0000 (00:22 +0000)]
parameter passing in registers changed to be
port specific. Since AVR will have different
parameter passing ABI.

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

24 years agoSome code cleanup & fixed problem of used bdefore definitions
sandeep [Sat, 11 Mar 2000 23:40:13 +0000 (23:40 +0000)]
Some code cleanup & fixed problem of used bdefore definitions
inside loops

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

24 years agoBrain death in previous commit
kvigor [Thu, 9 Mar 2000 21:13:07 +0000 (21:13 +0000)]
Brain death in previous commit

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

24 years ago10 bit stack mode: just a few more tweaks...
kvigor [Thu, 9 Mar 2000 21:04:52 +0000 (21:04 +0000)]
10 bit stack mode: just a few more tweaks...

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

24 years ago10 bit stack mode: handle DPTR2 in ISRs
kvigor [Thu, 9 Mar 2000 18:25:34 +0000 (18:25 +0000)]
10 bit stack mode: handle DPTR2 in ISRs

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

24 years ago10 bit stack mode: almost working...
kvigor [Thu, 9 Mar 2000 06:57:21 +0000 (06:57 +0000)]
10 bit stack mode: almost working...

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

24 years ago* Changed limit on 256$ to > 256
michaelh [Thu, 9 Mar 2000 04:47:22 +0000 (04:47 +0000)]
* Changed limit on 256$ to > 256
* Added IS_LITERAL() patch.
* Changed a few ints over to enums to help debugging.
* Fixed gbz80 missing struct members bug.
* Added heaps of debugging to ralloc()

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

24 years agoWhoops! Minor garbage in previous checkin
kvigor [Thu, 9 Mar 2000 01:38:10 +0000 (01:38 +0000)]
Whoops! Minor garbage in previous checkin

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

24 years ago10 bit stack mode: work in progress
kvigor [Thu, 9 Mar 2000 01:35:07 +0000 (01:35 +0000)]
10 bit stack mode: work in progress

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

24 years agoFirst pass at 10 bit stack mode for DS80C390
kvigor [Wed, 8 Mar 2000 23:45:28 +0000 (23:45 +0000)]
First pass at 10 bit stack mode for DS80C390

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

24 years agoregister allocator should not do block spil if defined used
sandeep [Wed, 8 Mar 2000 02:19:18 +0000 (02:19 +0000)]
register allocator should not do block spil if defined used
or defined anywhere in the block

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

24 years agomore array stuff
sandeep [Mon, 6 Mar 2000 21:52:59 +0000 (21:52 +0000)]
more array stuff

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

24 years ago1) fixed ~ operator problem
sandeep [Mon, 6 Mar 2000 18:49:54 +0000 (18:49 +0000)]
1) fixed ~ operator problem

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

24 years ago1) fixed complement problem
sandeep [Mon, 6 Mar 2000 18:49:32 +0000 (18:49 +0000)]
1) fixed complement problem
2) fixed peephole rule bug

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

24 years ago1) fixed one more array deref problem
sandeep [Mon, 6 Mar 2000 18:26:12 +0000 (18:26 +0000)]
1) fixed one more array deref problem

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

24 years agoGet wassert() to compile with Borland C++
kvigor [Mon, 6 Mar 2000 05:57:05 +0000 (05:57 +0000)]
Get wassert() to compile with Borland C++

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

24 years agoAdded latest benchmark record.
michaelh [Mon, 6 Mar 2000 05:02:37 +0000 (05:02 +0000)]
Added latest benchmark record.

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

24 years ago* Minor tuning
michaelh [Mon, 6 Mar 2000 04:53:30 +0000 (04:53 +0000)]
* Minor tuning
* Better addrOf
* Better plusInc (do sub as well?)
* Up to 185 with improved libs.  Seems low...

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

24 years agoClean up Borland C++ makefiles and add (lousy) documentation
kvigor [Sun, 5 Mar 2000 23:47:14 +0000 (23:47 +0000)]
Clean up Borland C++ makefiles and add (lousy) documentation

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

24 years ago*** empty log message ***
sandeep [Sun, 5 Mar 2000 23:21:37 +0000 (23:21 +0000)]
*** empty log message ***

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

24 years agoSome more AVR
sandeep [Sun, 5 Mar 2000 23:21:01 +0000 (23:21 +0000)]
Some more AVR

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

24 years agoSigh
michaelh [Sun, 5 Mar 2000 23:20:00 +0000 (23:20 +0000)]
Sigh

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

24 years agoReverted as/link Makefile change
michaelh [Sun, 5 Mar 2000 23:16:46 +0000 (23:16 +0000)]
Reverted as/link Makefile change

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

24 years agoInfrastructure stuff for AVR
sandeep [Sun, 5 Mar 2000 23:06:51 +0000 (23:06 +0000)]
Infrastructure stuff for AVR

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

24 years agoPre 2.92#2
michaelh [Sun, 5 Mar 2000 23:05:03 +0000 (23:05 +0000)]
Pre 2.92#2

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

24 years agoTracing Makefile bug
michaelh [Sun, 5 Mar 2000 22:50:53 +0000 (22:50 +0000)]
Tracing Makefile bug

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

24 years agoTracing as build bug
michaelh [Sun, 5 Mar 2000 22:44:32 +0000 (22:44 +0000)]
Tracing as build bug

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

24 years agoFixed silly Makefile _z80/z80 bug.
michaelh [Sun, 5 Mar 2000 22:31:06 +0000 (22:31 +0000)]
Fixed silly Makefile _z80/z80 bug.

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

24 years agoPre 2.92
michaelh [Sun, 5 Mar 2000 22:19:45 +0000 (22:19 +0000)]
Pre 2.92

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

24 years agoBlah. Pre 2.92.
michaelh [Sun, 5 Mar 2000 22:05:13 +0000 (22:05 +0000)]
Blah.  Pre 2.92.
Now has some acc use, some assign packing.  Z80 is probably broken.

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

24 years agoz80 assembler and linker now part of ./configure ; make ; make install
sandeep [Sun, 5 Mar 2000 21:41:51 +0000 (21:41 +0000)]
z80 assembler and linker now part of ./configure ; make ; make install
process.

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

24 years agoinitial version just copied them from mcs51 directory
sandeep [Sat, 4 Mar 2000 23:44:54 +0000 (23:44 +0000)]
initial version just copied them from mcs51 directory

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

24 years agoMade pointer casting a warning
sandeep [Sat, 4 Mar 2000 23:38:53 +0000 (23:38 +0000)]
Made pointer casting a warning

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

24 years agoinc & dec op added
sandeep [Sat, 4 Mar 2000 23:37:41 +0000 (23:37 +0000)]
inc & dec op added

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

24 years agofixed loop reversing problem
sandeep [Sat, 4 Mar 2000 23:35:50 +0000 (23:35 +0000)]
fixed loop reversing problem

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

24 years ago1) cse.c don't replace when not symop
sandeep [Sat, 4 Mar 2000 18:30:09 +0000 (18:30 +0000)]
1) cse.c don't replace when not symop
2) icode.c fixed the &array[n] problem
3) lrange.c fixed name for used before def

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

24 years agoMade pdata optional
michaelh [Fri, 3 Mar 2000 17:07:27 +0000 (17:07 +0000)]
Made pdata optional

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

24 years agofix broken static initializers in non-main() modules
kvigor [Thu, 2 Mar 2000 21:40:19 +0000 (21:40 +0000)]
fix broken static initializers in non-main() modules

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

24 years agoBegan making the hl loads more intelligent
michaelh [Thu, 2 Mar 2000 15:43:36 +0000 (15:43 +0000)]
Began making the hl loads more intelligent

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

24 years agofixes of curses lib detection
drdani [Wed, 1 Mar 2000 13:20:19 +0000 (13:20 +0000)]
fixes of curses lib detection

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

24 years agoMaster Borland C++ makefile
kvigor [Wed, 1 Mar 2000 07:06:21 +0000 (07:06 +0000)]
Master Borland C++ makefile

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

24 years agoAdded scripts to build all versions of as/link
michaelh [Wed, 1 Mar 2000 04:12:43 +0000 (04:12 +0000)]
Added scripts to build all versions of as/link

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

24 years agoFix crash while compiling dhrystone
kvigor [Tue, 29 Feb 2000 22:28:48 +0000 (22:28 +0000)]
Fix crash while compiling dhrystone

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

24 years agoGet compiling on Solaris
kvigor [Tue, 29 Feb 2000 18:41:42 +0000 (18:41 +0000)]
Get compiling on Solaris

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

24 years agocurses lib detection fix
drdani [Tue, 29 Feb 2000 12:15:15 +0000 (12:15 +0000)]
curses lib detection fix

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

24 years agoFix double pointer bug
kvigor [Tue, 29 Feb 2000 06:18:07 +0000 (06:18 +0000)]
Fix double pointer bug

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

24 years agoCLean up warnings with Borland C++
kvigor [Tue, 29 Feb 2000 04:30:30 +0000 (04:30 +0000)]
CLean up warnings with Borland C++

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

24 years agoMake &array[const] compile
kvigor [Mon, 28 Feb 2000 05:03:43 +0000 (05:03 +0000)]
Make &array[const] compile

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

24 years agoPre 2.91
michaelh [Sun, 27 Feb 2000 22:54:04 +0000 (22:54 +0000)]
Pre 2.91

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

24 years agoGet compiling with Borland C++ for Windows
kvigor [Sun, 27 Feb 2000 06:03:18 +0000 (06:03 +0000)]
Get compiling with Borland C++ for Windows

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

24 years agoGet compiling with Borland C++ for Windows
kvigor [Sun, 27 Feb 2000 05:47:14 +0000 (05:47 +0000)]
Get compiling with Borland C++ for Windows

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

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