]>
git.gag.com Git - fw/sdcc/log
jesusc [Sun, 29 Dec 2002 21:12:10 +0000 (21:12 +0000)]
as/mcs51/Makefile.bcc: fixed typo lkomf51.o -> lkaomf51.o
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2127
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 29 Dec 2002 10:37:59 +0000 (10:37 +0000)]
promote operand instead of result for +-*
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2126
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sat, 28 Dec 2002 21:26:01 +0000 (21:26 +0000)]
* src/mcs51/peeph.def: added rules 234 and 235 from Frieder Ferlemann \<frieder.ferlemann@web.de\>* support/regression/tests/bug-524697.c: fit mem usage into 8032
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2125
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sat, 28 Dec 2002 20:44:29 +0000 (20:44 +0000)]
src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2124
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 28 Dec 2002 13:16:48 +0000 (13:16 +0000)]
fixed the implicit integral promotion as in
https://sourceforge.net/forum/message.php?msg_id=
1807843
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2123
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 27 Dec 2002 12:59:51 +0000 (12:59 +0000)]
fixed typo lkomf51.o -> lkaomf51.o
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2122
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 27 Dec 2002 11:51:33 +0000 (11:51 +0000)]
added option --no-xinit-opt
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2121
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 27 Dec 2002 11:22:16 +0000 (11:22 +0000)]
as/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2120
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Thu, 26 Dec 2002 17:53:49 +0000 (17:53 +0000)]
src/mcs51/main.c: removed {bindir}{sep} from aslink
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2119
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 15 Dec 2002 23:04:48 +0000 (23:04 +0000)]
Extended address of ds390 not supported in Intel omf51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2118
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 15 Dec 2002 23:03:58 +0000 (23:03 +0000)]
Correct size check of XRam and Code for ds390
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2117
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 12 Dec 2002 01:16:50 +0000 (01:16 +0000)]
Corrected a bug when the CDB file does not propperly mark a function end.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2116
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 12:04:59 +0000 (12:04 +0000)]
When generating aomf51 file, corrected bug in static functions, and a bug
when including debug information from the libraries.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2115
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 07:22:57 +0000 (07:22 +0000)]
Added support to generate aomf51 file. (Basic Intel support, no Keil
extensions yet)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2114
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 07:16:58 +0000 (07:16 +0000)]
Added two new source files to the project: lkmem.c and lkaomf51.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2113
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 07:14:50 +0000 (07:14 +0000)]
Change extension 'cdb' to 'adb', so the linker doesn't overwrite the first file
wrecking its content.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2112
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 1 Dec 2002 03:24:42 +0000 (03:24 +0000)]
Added the pic16 port for Martin Dubuc.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2111
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 9 Nov 2002 23:42:05 +0000 (23:42 +0000)]
aslink for mcs51 now uses --iram-size.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2110
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 9 Nov 2002 23:40:08 +0000 (23:40 +0000)]
Now reports memory usage using the value from option --iram-size.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2109
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Sun, 6 Oct 2002 08:38:57 +0000 (08:38 +0000)]
Give the argument of isCommutativeOp() the correct type.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2108
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Mon, 30 Sep 2002 06:36:55 +0000 (06:36 +0000)]
IE__EA__EC__ET2__ES__ET1__EX1__ET0__EX0 sbit definitions corrected
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2107
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 20 Sep 2002 17:25:51 +0000 (17:25 +0000)]
added boundary check before using dram[] array.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2106
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Fri, 20 Sep 2002 17:25:21 +0000 (17:25 +0000)]
Test pointer for NULL *before* dereferencing it, not immediately after (fix crash reported by Jesus Calvino-Fraga)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2105
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 20 Sep 2002 17:24:49 +0000 (17:24 +0000)]
sdcc\as\mcs51\lklist.c: added boundary check before using dram[] array.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2104
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Thu, 19 Sep 2002 10:08:22 +0000 (10:08 +0000)]
Philips P89C668 support added by Eric Limpers
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2103
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Thu, 19 Sep 2002 06:52:00 +0000 (06:52 +0000)]
fixed the stupid mistake I made in genMinus()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2102
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Thu, 19 Sep 2002 00:31:34 +0000 (00:31 +0000)]
Applying patch #609842: Fixes to mcs51 register allocation (bug #542397)
and some changes to the code generated by genPlus() and genMinus().
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2101
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Wed, 11 Sep 2002 10:01:17 +0000 (10:01 +0000)]
Atmel T89C51RD2 support added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2100
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Mon, 9 Sep 2002 09:52:31 +0000 (09:52 +0000)]
Fixed incorrect number of parameters to sprintf() of file sdcc\as\mcs51\lklist.c, line 1267.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2099
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Mon, 9 Sep 2002 09:50:33 +0000 (09:50 +0000)]
Fixed incorrect number of parameters to sprintf() in line 1267.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2098
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 8 Sep 2002 19:01:18 +0000 (19:01 +0000)]
Create REG_BANK_[0-3] areas only for 8051 like ports.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2097
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 4 Sep 2002 09:51:45 +0000 (09:51 +0000)]
Creation of default areas. Improved memory usage. Stack diagnostics.
Delegates data and stack allocation to aslink. Creates areas for register
banks.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2096
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 4 Sep 2002 09:50:24 +0000 (09:50 +0000)]
Delegates data and stack allocation to aslink. Creates areas for register
banks.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2095
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 4 Sep 2002 09:44:53 +0000 (09:44 +0000)]
Creation of default areas. Improved memory usage. Stack diagnostics.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2094
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 3 Sep 2002 18:30:10 +0000 (18:30 +0000)]
introduced atexit() handler for teporay files removal in case of errors, assertions, ...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2093
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
drdani [Mon, 2 Sep 2002 07:34:03 +0000 (07:34 +0000)]
fix of bug #533274
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2092
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 29 Aug 2002 18:33:59 +0000 (18:33 +0000)]
re-definition of O_BINARY and other O_XXX as _O_BINARY and _O_XXX
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2091
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 29 Aug 2002 16:30:36 +0000 (16:30 +0000)]
corrected improper use of assert
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2090
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 28 Aug 2002 22:09:34 +0000 (22:09 +0000)]
a better fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2089
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 28 Aug 2002 20:37:09 +0000 (20:37 +0000)]
src/SDCCglue.c (printIvalArray): iterative calculation of array length
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2088
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 12:46:49 +0000 (12:46 +0000)]
added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2087
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 12:13:11 +0000 (12:13 +0000)]
2002-08-28 Jesus Calvino-Fraga and Borut Razem <borut.razem@siol.net>
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2086
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 12:11:36 +0000 (12:11 +0000)]
removed from CVS, generated automatically
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2085
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:53:52 +0000 (11:53 +0000)]
added - genarate auto-host.h using auto-host_vc_in.h as template
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2084
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:50:24 +0000 (11:50 +0000)]
added - VC project for sdcpp
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2083
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:45:20 +0000 (11:45 +0000)]
added - genarate sdcc_vc.h using sdcc_vc_in.h as template and insert the version number definitions from .version
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2082
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:37:38 +0000 (11:37 +0000)]
added sdcpp, sdcppa, yacc, conf projects
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2081
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:36:49 +0000 (11:36 +0000)]
- added Release configuration in VS projects
- review of compiler an linker options
- VC .exe files are generated in bin_vc directory, not to interfere
with binaries generated from other projects (cygwin, mingw, bcc ...)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2080
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 25 Aug 2002 11:36:04 +0000 (11:36 +0000)]
use gputils or gpasm (from Nathan Hurst)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2079
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 24 Aug 2002 22:56:12 +0000 (22:56 +0000)]
Added limited run support
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2077
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Tue, 13 Aug 2002 14:38:42 +0000 (14:38 +0000)]
added _itoa and _ltoa
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2075
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Mon, 12 Aug 2002 14:09:57 +0000 (14:09 +0000)]
added functions _ltoa _uitoa
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2074
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Mon, 12 Aug 2002 14:06:22 +0000 (14:06 +0000)]
added functions _itoa _uitoa
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2073
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Mon, 12 Aug 2002 13:58:00 +0000 (13:58 +0000)]
added _itoa and _ltoa
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2072
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 11 Aug 2002 18:12:58 +0000 (18:12 +0000)]
removed unneeded #include "sdccconf.h"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2071
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 11 Aug 2002 04:40:44 +0000 (04:40 +0000)]
x = y >> 6; was failing if x and y were 16-bit ints
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2070
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 10 Aug 2002 15:33:24 +0000 (15:33 +0000)]
enabled compilation of SDCC on Visual Studio 6.0 and .NET
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2069
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 10 Aug 2002 15:31:34 +0000 (15:31 +0000)]
define PREFIX as "\\sdcc"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2068
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 10 Aug 2002 15:28:02 +0000 (15:28 +0000)]
file preOutName was unlinked before closed. This seems to be OK on UNIX and cygwin
platforms, but it doesn't work with Visual Studio: the opened file can not be removed.
The consequence was that some temporary files were not removed.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2067
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 9 Aug 2002 21:03:06 +0000 (21:03 +0000)]
added xa51 Visual Studio 6.0 project files
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2066
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Fri, 9 Aug 2002 14:28:53 +0000 (14:28 +0000)]
Indirect pointer access to banks 2 and 3 on the 'f877 now works.
Variable names are displayed for variables that SDCC couldn't allocate.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2065
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:33:37 +0000 (21:33 +0000)]
- definition of PATH_MAX for MSC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2064
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:28:14 +0000 (21:28 +0000)]
- added newline in the .def file to keep MSC compiler satisfied
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2063
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:24:59 +0000 (21:24 +0000)]
- define PREFIX as an empty string just to enable compilation on VC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2062
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:21:30 +0000 (21:21 +0000)]
- function strcasecmp() is not defined in MSC (and probably also in BORLANDC),
so it is replaced with STRCASECMP, which is defined as stricmp in case of MSC and BORLANDC
- solved MSC error in function aopDump()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2061
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:20:13 +0000 (21:20 +0000)]
- added return 0 statements after assert() to make compiler happy
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2060
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:18:23 +0000 (21:18 +0000)]
- added missing ending ';' to rules to get rid of bison warnings
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2059
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:17:32 +0000 (21:17 +0000)]
- solved MSC error in function decorateType()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2058
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:09:05 +0000 (21:09 +0000)]
- changed project type to Generic Project so that can be correcly converted to VS.NET project
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2057
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:07:10 +0000 (21:07 +0000)]
- removed compiler command line option /WX: Treats all warnings as errors
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2056
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:04:53 +0000 (21:04 +0000)]
- removed compiler command line option /WX: Treats all warnings as errors
- added files to project: device.c, pcodeflow.c, pcoderegs.c, device.h, pcodeflow.h, pcoderegs.h
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2055
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 21:03:28 +0000 (21:03 +0000)]
- removed compiler command line option /WX: Treats all warnings as errors
- added files to project: SDCCmacro.c, SDCCutil.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2054
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 20:58:20 +0000 (20:58 +0000)]
removed project sdcpp, added project xa51a
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2053
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Wed, 7 Aug 2002 13:13:47 +0000 (13:13 +0000)]
Added regression tests for compound comparisons.
-- Fixed several bugs associated with compound compares:
e.g. x = (a != b);
(At least 4 people reported this)
-- Fixed bug associated with an empty main block (Reported by Ralf Forsberg)
-- Bank selection was handled improperly for CALL's
(Reported by Matt W. at solid-state-logic)
-- For the PIC port, declaring variables at absolute addresses no
longer automatically makes the variable volatile.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2052
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Aug 2002 06:24:43 +0000 (06:24 +0000)]
Unification of code in functions tempfilename() and tempfile():\nfunction tempnam() is defined in Visual Studio 6.0 and .NET
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2051
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 30 Jul 2002 12:19:43 +0000 (12:19 +0000)]
- Register banking wasn't working for bit variables were.
- Register banking at a return instruction was broken.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2050
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 28 Jul 2002 14:30:45 +0000 (14:30 +0000)]
Updated inc2h.pl from Kevin Pauba. This version handles memory maps
better.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2049
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sat, 27 Jul 2002 14:51:45 +0000 (14:51 +0000)]
Turned off verbose debugging
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2048
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sat, 27 Jul 2002 14:50:55 +0000 (14:50 +0000)]
varA = (varB > CONSTANT); Was not compiling correctly.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2047
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Fri, 26 Jul 2002 20:12:54 +0000 (20:12 +0000)]
bug 568948: building with latest MSVC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2046
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Fri, 26 Jul 2002 19:41:38 +0000 (19:41 +0000)]
"fix" bug 585128
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2045
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Fri, 26 Jul 2002 17:56:35 +0000 (17:56 +0000)]
Bug 580443 fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2044
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Thu, 25 Jul 2002 14:07:13 +0000 (14:07 +0000)]
Registers used inline were not getting allocated.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2043
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Thu, 25 Jul 2002 13:42:27 +0000 (13:42 +0000)]
Fixed two bugs with inline assembly:
1) bit instructions weren't assembling
2) registers were not declared properly.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2042
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 23 Jul 2002 14:15:12 +0000 (14:15 +0000)]
Interrupt context registers WSAVE and SSAVE were not getting allocated.
Applied some more peephole and literal multiply patches from Freider Ferlemann
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2041
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Thu, 18 Jul 2002 10:59:07 +0000 (10:59 +0000)]
fixed access to array of structures
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2040
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 14 Jul 2002 21:19:17 +0000 (21:19 +0000)]
"ancestor" flow logic was implemented. Applied optimization patches from Frieder Ferlemann for unsigned multiplications.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2039
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Thu, 11 Jul 2002 04:31:02 +0000 (04:31 +0000)]
Added CLRWDT instruction again (this time correctly).
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2038
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Wed, 10 Jul 2002 13:39:54 +0000 (13:39 +0000)]
renamed a function ins pcodeflow that conflicted with one in pcode.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2037
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Wed, 10 Jul 2002 13:32:21 +0000 (13:32 +0000)]
Added pcodeflow.c - much of pcode.c will eventually get moved here.
Added the CLRWDT instruction to the list of valid PIC instructions.
Added two new peep hole rules from Frieder Ferlemann.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2036
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 9 Jul 2002 05:13:19 +0000 (05:13 +0000)]
(bandaid) Fixed core dump. You have to specify a valid include file otherwise
you spew core. This temporary fix keeps the core intact; eventually there will be a more graceful fix.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2035
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 7 Jul 2002 15:09:01 +0000 (15:09 +0000)]
During a debug session, the code for fixing register banks was turned off.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2034
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 7 Jul 2002 06:06:35 +0000 (06:06 +0000)]
More register optimizations
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2033
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 7 Jul 2002 00:44:53 +0000 (00:44 +0000)]
inline assembly was generated as plain text, now it is assembled into pCodes.
addpCode2pBlock would dump core if the pCode being added was NULL.
pBlockMergeLabels couldn't merge labels into instructions if the two labels occurred as consecutive pCodes.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2032
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sat, 6 Jul 2002 05:57:42 +0000 (05:57 +0000)]
Fixed seg fault for empty programs. Added more register optimizations.
Added deleteSet() function to delete a set and its contents.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2031
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Fri, 5 Jul 2002 06:36:30 +0000 (06:36 +0000)]
Applied patch from Kevin L. Pauba that added the #pragma memory declaration feature. Updated all of the PIC regression tests to use the new #pragma declarations.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2030
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Fri, 5 Jul 2002 05:43:35 +0000 (05:43 +0000)]
Register Optimizer was ignoring volatility of SFRs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2029
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Thu, 4 Jul 2002 19:45:40 +0000 (19:45 +0000)]
More enhancements to register optimization algorithms.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2028
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 2 Jul 2002 15:26:02 +0000 (15:26 +0000)]
pCode Register optimization - registers used in only one or two instructions
are analyzed and removed if possible.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2027
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 23 Jun 2002 03:51:18 +0000 (03:51 +0000)]
pCode live-range analysis algorithms have been added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2026
4a8a32a2 -be11-0410-ad9d-
d568d2c75423