]>
git.gag.com Git - fw/sdcc/log
johanknol [Wed, 19 Sep 2001 10:56:05 +0000 (10:56 +0000)]
removed a fruitless attempt, compareType() should take care of this
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1286
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 18 Sep 2001 13:36:56 +0000 (13:36 +0000)]
prevent a compiler crash
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1285
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 18 Sep 2001 09:36:50 +0000 (09:36 +0000)]
fixed bug #462479
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1284
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Mon, 17 Sep 2001 21:46:04 +0000 (21:46 +0000)]
dos cvs had problem with .lnk file
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1283
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Mon, 17 Sep 2001 21:43:13 +0000 (21:43 +0000)]
fix dos cvs co problem with .lnk files
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1282
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Mon, 17 Sep 2001 21:23:25 +0000 (21:23 +0000)]
try to fix dos cvs access problen
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1281
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 17 Sep 2001 17:29:43 +0000 (17:29 +0000)]
1) SDCCast.c - allow cast of ZERO to generic pointer (Special case for NULL)
2) SDCCcse.c - Do not change CAST of literal to ASSIGNMENT if the literal is
of pointer type & cast to generic pointer
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1280
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 17 Sep 2001 13:27:17 +0000 (13:27 +0000)]
undid the fix for bug #455597, there has to be a better way
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1279
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 16 Sep 2001 23:16:00 +0000 (23:16 +0000)]
Fix for casting literals to generic pointer
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1278
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 16 Sep 2001 16:22:20 +0000 (16:22 +0000)]
These restriction were too strict, I have to think this over again first
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1277
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 16 Sep 2001 14:04:32 +0000 (14:04 +0000)]
Errors have E_, warnings have W_, Info's have I_
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1276
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 16 Sep 2001 13:54:48 +0000 (13:54 +0000)]
fixed bug #436360 part 2, a better type check for function parameters
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1275
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 16 Sep 2001 13:52:22 +0000 (13:52 +0000)]
fixed bug #436360 part 1
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1274
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sun, 16 Sep 2001 00:40:33 +0000 (00:40 +0000)]
__rlrr array lacking extern
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1273
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 15 Sep 2001 15:37:44 +0000 (15:37 +0000)]
a possible fix for bug #460662 part 2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1272
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 15 Sep 2001 13:49:10 +0000 (13:49 +0000)]
A skeleton for a regression fix.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1271
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 15 Sep 2001 12:23:00 +0000 (12:23 +0000)]
fixed bug #460662 part 1
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1270
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 14 Sep 2001 15:05:22 +0000 (15:05 +0000)]
Now only the native_memcpy_cs2xs() is missing
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1269
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Fri, 14 Sep 2001 03:48:59 +0000 (03:48 +0000)]
allow for APPLE MACH compilation
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1268
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 13 Sep 2001 15:04:32 +0000 (15:04 +0000)]
Improved version of the experimental new initializer
It should also work now for local's
Remember the environmental var TRY_THE_NEW_INITIALIZER
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1267
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 12 Sep 2001 15:30:35 +0000 (15:30 +0000)]
a better version of array initializers
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1266
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 12 Sep 2001 07:58:37 +0000 (07:58 +0000)]
reversed src and dst
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1265
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 11 Sep 2001 15:30:09 +0000 (15:30 +0000)]
oops, sorry
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1264
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 11 Sep 2001 15:22:28 +0000 (15:22 +0000)]
A first attempt for more efficient initialisations
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1263
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 11 Sep 2001 09:41:29 +0000 (09:41 +0000)]
fixed bug #460010
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1262
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 11 Sep 2001 09:33:41 +0000 (09:33 +0000)]
fixed bug #460010
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1261
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Tue, 11 Sep 2001 00:48:34 +0000 (00:48 +0000)]
* support/regression/tests/bug-460444.c: Added test case.
* src/z80/gen.c (genOr): bug 460444: if (a ^ lit) was broken for &, |, and ^.
(genCast): Added justification for all of the asserts.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1260
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 10 Sep 2001 10:35:41 +0000 (10:35 +0000)]
fixed bug #460198
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1259
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 10 Sep 2001 09:49:28 +0000 (09:49 +0000)]
fixed the mergeSpec() warning and did some cosmetics
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1258
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 10 Sep 2001 01:21:45 +0000 (01:21 +0000)]
cosmetic
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1257
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 9 Sep 2001 22:03:00 +0000 (22:03 +0000)]
* support/regression/support.c: _xdata replaced by xdata
* support/regression/spec.mk: removed _generic
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1256
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 9 Sep 2001 21:13:46 +0000 (21:13 +0000)]
* src/pic/ralloc.c (debugLogRegType): Removed some old types to get it to compile.
* src/z80/gen.c (shiftR2Left2Result): Improved the case when v = v >> n for small values of n to use less code space and time.
(genrshTwo): Fixed v = v >> n where v is a negative int and n is > 8: bug 460010.
* src/z80/peeph.def: Added a rule to optimise shift then compare.
* support/regression/tests/bug-460000.c (testShiftByParam): Added test case.
* support/regression/tests/bug-460010.c: Added test case.
* support/regression/Makefile (test-host): Removed a silly 'clean' target when testing against gcc.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1255
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 9 Sep 2001 20:34:51 +0000 (20:34 +0000)]
Fixed a regression
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1254
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 9 Sep 2001 20:15:02 +0000 (20:15 +0000)]
some minor improvements
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1253
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 9 Sep 2001 20:11:40 +0000 (20:11 +0000)]
fixed up hasInc function, was missing some opputunities
to catch postincrements
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1252
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 9 Sep 2001 19:16:47 +0000 (19:16 +0000)]
Some more progress.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1251
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 9 Sep 2001 17:33:26 +0000 (17:33 +0000)]
Fixed loopreversal bug.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1250
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Sun, 9 Sep 2001 17:25:27 +0000 (17:25 +0000)]
Changed _xdata, _near, etc and removed _generic from library files
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1249
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 9 Sep 2001 16:05:20 +0000 (16:05 +0000)]
One big shot, to finally solve the pointer "whatever * whatever * whatever" issue.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1248
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 9 Sep 2001 15:01:32 +0000 (15:01 +0000)]
improved code generation for RLC & RRC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1247
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 9 Sep 2001 12:20:29 +0000 (12:20 +0000)]
* support/regression/Makefile: inter-port-clean adjusted for mcs51
* support/regression/testfwk.c: removed workaround for bug #436344
* support/regression/tests/bp.c: use less memory with mcs51
* support/regression/tests/bug-441448.c: use less memory
* support/regression/tests/ports/mcs51/spec.mk: cleanup, use --stack-after-data
* support/regression/collate-results.py: typo
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1246
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 9 Sep 2001 09:07:18 +0000 (09:07 +0000)]
this shouldn't have been in cvs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1245
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 9 Sep 2001 01:47:13 +0000 (01:47 +0000)]
* support/regression/tests/fetchoverlap.c: Added new test case.
* support/regression/tests/bp.c: Added new test case.
* support/regression/tests/bug-448984.c: Added new test case.
* support/regression/tests/pow2shifts.c: Added new test case.
* src/z80/gen.c: Turned off the noise it normally generates for the release.
(genlshTwo): Fixed right shift for count > 8.
* src/z80/ralloc.c: Disabled most of the ACC packing rules as they weren't getting hit and weren't at all safe.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1244
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 8 Sep 2001 13:26:09 +0000 (13:26 +0000)]
a better fix for bug #436344
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1243
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 8 Sep 2001 10:57:24 +0000 (10:57 +0000)]
undid my latest fix for bug #436344
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1242
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 8 Sep 2001 09:58:45 +0000 (09:58 +0000)]
a CPOINTER can be used as a function
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1241
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 7 Sep 2001 14:35:08 +0000 (14:35 +0000)]
fixed bug #456235
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1240
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 7 Sep 2001 13:41:31 +0000 (13:41 +0000)]
bug fix #458744 is confirmed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1239
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 7 Sep 2001 13:28:39 +0000 (13:28 +0000)]
a more specific message
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1238
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 7 Sep 2001 13:27:50 +0000 (13:27 +0000)]
ALWAYS walk the tree for UPOINTERS
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1237
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 7 Sep 2001 13:26:14 +0000 (13:26 +0000)]
Don't call a function, unless it's a function
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1236
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 7 Sep 2001 09:29:03 +0000 (09:29 +0000)]
fixed bug #459459
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1235
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 7 Sep 2001 09:23:46 +0000 (09:23 +0000)]
Only delete a symbol when it is a symbol
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1234
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 6 Sep 2001 16:19:45 +0000 (16:19 +0000)]
bernhard noticed: "()" equals to "(void)"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1233
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 6 Sep 2001 16:17:38 +0000 (16:17 +0000)]
Bernhard mentioned that "()" equals "(void)"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1232
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 6 Sep 2001 15:26:53 +0000 (15:26 +0000)]
maybe a fix for bug #458744
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1231
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 5 Sep 2001 13:19:41 +0000 (13:19 +0000)]
fixed bug #458177, global vars are always .global
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1230
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 5 Sep 2001 12:14:08 +0000 (12:14 +0000)]
prevent a warning
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1229
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 5 Sep 2001 12:11:50 +0000 (12:11 +0000)]
Hmmm, this is nice...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1228
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 5 Sep 2001 12:06:39 +0000 (12:06 +0000)]
fixed bug #458099/2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1227
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Tue, 4 Sep 2001 23:08:11 +0000 (23:08 +0000)]
pragma noinduction broke memcpy on mcs51 large model. Moved it into z80 code.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1226
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 4 Sep 2001 14:33:37 +0000 (14:33 +0000)]
fix for the first part of bug #458099
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1225
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 4 Sep 2001 09:55:33 +0000 (09:55 +0000)]
bug #458311
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1224
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 4 Sep 2001 09:44:34 +0000 (09:44 +0000)]
comit of the fix as mentioned in bug #458311
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1223
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 3 Sep 2001 18:50:42 +0000 (18:50 +0000)]
* link/z80/aslink.h: Fixed path for PATH_MAX
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1222
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 3 Sep 2001 18:31:40 +0000 (18:31 +0000)]
Added build to the install target
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1220
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 3 Sep 2001 18:07:44 +0000 (18:07 +0000)]
Fixed up initalisation of size
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1219
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 3 Sep 2001 04:23:48 +0000 (04:23 +0000)]
* src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space references.
* support/regression/tests/addsub.c: Added cases to cover all the +, - combinations.
* support/regression/tests/uminus.c: Added a test for the unary minus operator.
* src/z80/gen.c (genUminus): Fixed add, sub, and uminus on the gbz80 port for longs. Had to shift some functions about to do it.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1218
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 2 Sep 2001 14:42:42 +0000 (14:42 +0000)]
some minor --stack-auto improvements
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1217
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 2 Sep 2001 14:39:49 +0000 (14:39 +0000)]
fixed bug #457718
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1216
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sun, 2 Sep 2001 06:19:52 +0000 (06:19 +0000)]
add JAMIN ds390 testing switch
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1215
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sun, 2 Sep 2001 06:18:03 +0000 (06:18 +0000)]
traces for AP and dptr1 use
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1214
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sun, 2 Sep 2001 06:15:34 +0000 (06:15 +0000)]
add test prog
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1213
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 2 Sep 2001 04:33:43 +0000 (04:33 +0000)]
Stopped a couple of warnings.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1212
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 2 Sep 2001 04:21:43 +0000 (04:21 +0000)]
* src/z80/gen.c: Fixed up generator to pass the regresion tests, specifically fixing loads for longs, genCmp, and turned on the map file.
* device/lib/gbz80/Makefile: Fixed up all the libraries to pass the regression tests.
* support/regression/ports/host/spec.mk: Updated to compile with the new type specifiers.
* device/lib/Makefile.in (Z80SOURCES): Removed old _mululong, _mulslong, and unneeded _mulint.
* device/lib/_mullong.c (_mulslong): Changed to actually return a value :)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1210
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sat, 1 Sep 2001 23:59:28 +0000 (23:59 +0000)]
add DS390F
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1209
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sat, 1 Sep 2001 23:56:20 +0000 (23:56 +0000)]
make CC=sdcc
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1208
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sat, 1 Sep 2001 23:55:13 +0000 (23:55 +0000)]
fix up simple example
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1207
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sat, 1 Sep 2001 23:53:47 +0000 (23:53 +0000)]
add start of flat24 support
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1206
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 1 Sep 2001 23:01:08 +0000 (23:01 +0000)]
* support/regression/ports/host/spec.mk: Updated to compile with the new type specifiers.
* device/lib/Makefile.in (Z80SOURCES): Removed old _mululong, _mulslong, and unneeded _mulint$
* device/lib/_mullong.c (_mulslong): Changed to actually return a value :)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1205
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Sat, 1 Sep 2001 16:33:30 +0000 (16:33 +0000)]
add simple asm example
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1204
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 1 Sep 2001 15:38:50 +0000 (15:38 +0000)]
updateSpillocation did not check for nosupdate flag for inductions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1203
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 1 Sep 2001 09:28:35 +0000 (09:28 +0000)]
the --stack-auto crash fix wasn't so useless after all.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1202
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 1 Sep 2001 08:48:33 +0000 (08:48 +0000)]
remove some warnings
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1201
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Fri, 31 Aug 2001 06:04:38 +0000 (06:04 +0000)]
Added peepholes 223 to 231 to mcs51 port.
These improve code when using large model.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1200
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Fri, 31 Aug 2001 04:43:12 +0000 (04:43 +0000)]
Fixed up support for the gbz80 such that it will at least run (and fail badly) the regression tests.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1198
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Fri, 31 Aug 2001 03:24:07 +0000 (03:24 +0000)]
* src/z80/gen.c (genPlus): Changed bad long add for gb to a fall through.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1197
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Thu, 30 Aug 2001 21:18:16 +0000 (21:18 +0000)]
Only build each library if configure listed it in ports.build. The
ds390 port had this test... I just put it around the others too.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1196
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Thu, 30 Aug 2001 17:40:56 +0000 (17:40 +0000)]
add ds390 processor
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1195
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Thu, 30 Aug 2001 17:36:18 +0000 (17:36 +0000)]
Change IS_DS390 to .model=FLAT24
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1194
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Thu, 30 Aug 2001 16:18:26 +0000 (16:18 +0000)]
Fix initialization of arrays of char *
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1193
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
anoncvs_rymo [Thu, 30 Aug 2001 15:49:37 +0000 (15:49 +0000)]
vsnprintf is not standard
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1192
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Thu, 30 Aug 2001 10:59:48 +0000 (10:59 +0000)]
* sim/ucsim/configure: little improvement of Cygwin-detection
* sim/ucsim/configure.in: little improvement of Cygwin-detection
* sim/ucsim/cmd.src/newcmdcl.h: include <sys/types.h> to define fd_set automated build
* support/regression/tests/bug-221100.c: small changes for mcs51
* support/regression/tests/bug-221168.c: small changes for mcs51
* support/regression/tests/bug-227710.c: small changes for mcs51
* support/regression/tests/staticinit.c: small changes for mcs51
* as/mcs51/aslink.h: accept everything as symbol name in rel-files, bug fix ID 452601
* as/mcs51/lklex.c: accept everything as symbol name in rel-files, bug fix ID 452601
* as/mcs51/lksym.c: accept everything as symbol name in rel-files, bug fix ID 452601
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1191
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Thu, 30 Aug 2001 10:57:39 +0000 (10:57 +0000)]
accept everything as symbol name in rel-files, bug fix ID 452601
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1190
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Thu, 30 Aug 2001 10:33:45 +0000 (10:33 +0000)]
small changes for mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1189
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Thu, 30 Aug 2001 10:29:15 +0000 (10:29 +0000)]
include <sys/types.h> to define fd_set automated build
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1188
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Thu, 30 Aug 2001 10:26:10 +0000 (10:26 +0000)]
little improvement of Cygwin-detection
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1187
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Thu, 30 Aug 2001 02:39:25 +0000 (02:39 +0000)]
* link/z80/aslink.h: Fixed long file name support. Is now based off PATH_MAX instead of a constant.
* src/z80/gen.c: Fixed add and sub for the case where left or right are in static space.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1186
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Tue, 28 Aug 2001 20:59:05 +0000 (20:59 +0000)]
no shared lib under Cygwin
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1185
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 28 Aug 2001 15:07:22 +0000 (15:07 +0000)]
fixed bug #455597
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1184
4a8a32a2 -be11-0410-ad9d-
d568d2c75423