]>
git.gag.com Git - fw/sdcc/log
johanknol [Fri, 19 Oct 2001 11:41:58 +0000 (11:41 +0000)]
implicit casts of array to pointer are now in default space
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1419
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 19 Oct 2001 11:05:12 +0000 (11:05 +0000)]
no need to do that
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1418
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 19 Oct 2001 11:01:33 +0000 (11:01 +0000)]
should also work in --model-small now
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1417
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 18 Oct 2001 19:09:32 +0000 (19:09 +0000)]
Hmmm, didn't do that in my early days just because ... but this is better
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1416
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 18 Oct 2001 18:31:51 +0000 (18:31 +0000)]
bring back in a huge optimization
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1415
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Thu, 18 Oct 2001 02:13:45 +0000 (02:13 +0000)]
* support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
* support/regression/generate-cases.py: Fixed up to use function pts correctly.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1414
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 17 Oct 2001 16:28:56 +0000 (16:28 +0000)]
fixed bug #436360 part 2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1413
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Wed, 17 Oct 2001 05:33:44 +0000 (05:33 +0000)]
- And'ing with a constant works (again).
- Added and1.c to test anding unsigned chars, ints, and longs with lits.
- Change PIC regression testing so that simulations are run only on the
C files that have changed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1412
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Tue, 16 Oct 2001 20:02:06 +0000 (20:02 +0000)]
timeout for uCsim
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1411
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 16 Oct 2001 15:51:45 +0000 (15:51 +0000)]
- signed/unsigned long comparisons now work.
- compound compares with chars and ints work.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1410
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 15:05:58 +0000 (15:05 +0000)]
fixed bug #436360 part 1 and 3
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1409
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 08:50:17 +0000 (08:50 +0000)]
found a better fix in SDCCcse.c:1.53
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1408
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 08:48:30 +0000 (08:48 +0000)]
Without this algebraicOpts() gets confused
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1407
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 16 Oct 2001 08:14:04 +0000 (08:14 +0000)]
fixed regression bug, although it doesn't fix the regression
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1406
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 15 Oct 2001 13:05:05 +0000 (13:05 +0000)]
%lf doesn't recognize 0x1234
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1405
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 15 Oct 2001 12:20:37 +0000 (12:20 +0000)]
let's be nice to cygwin and mingw
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1404
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 15 Oct 2001 10:22:27 +0000 (10:22 +0000)]
fixed a regression bug, although it doesn't fix the regression
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1403
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 15 Oct 2001 05:50:48 +0000 (05:50 +0000)]
Added tests
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1401
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 15 Oct 2001 02:08:35 +0000 (02:08 +0000)]
Same enhancement as in mcs51/ralloc.c can set accuse
if conditional & used only in IFX
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1400
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 15 Oct 2001 02:03:11 +0000 (02:03 +0000)]
A fix for bug #467035 - this is a fairly major shift in
CSE processing. Previously when an operation was performed
before with the same operands then the result of the previous
operand replaced the result of the current operation entirely.
This was buggy , the current solution looks like a much cleaner
way to do things. Replace the current iCode with the an assignment
of the previous icode's result, we nolonger have to replace the
operands because the assignment exists, will have to watch for
performance regressions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1399
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 15 Oct 2001 01:59:34 +0000 (01:59 +0000)]
set accuse when used ONLY in IFX & this is a CONDITIONAL
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1398
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 13 Oct 2001 19:25:11 +0000 (19:25 +0000)]
* src/SDCCmain.c (linkEdit): Added support for passing a legacy command line through the processor.
* src/mcs51/main.c (_linkCmd): Added bin path to command.
* src/SDCCmain.c (initValues): Added support for when it it called just to link.
* as/mcs51/lklibr.c (libfil;): Turned off 'library file' message.
* src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
* support/regression/tests/longor.c: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1396
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 13 Oct 2001 17:50:10 +0000 (17:50 +0000)]
* src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
* support/regression/tests/longor.c: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1395
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 13 Oct 2001 17:40:05 +0000 (17:40 +0000)]
* support/regression/tests/longor.c: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1394
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 13 Oct 2001 10:08:54 +0000 (10:08 +0000)]
fixed bug # 470722
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1393
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 12 Oct 2001 19:06:23 +0000 (19:06 +0000)]
replace FILENAME_MAX with PATH_MAX
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1392
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 12 Oct 2001 12:36:05 +0000 (12:36 +0000)]
Another big endian fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1391
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 12 Oct 2001 09:45:32 +0000 (09:45 +0000)]
A better but still temporary fix for bug #467035
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1390
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Fri, 12 Oct 2001 01:18:11 +0000 (01:18 +0000)]
* src/z80/gen.c (gencjneshort): Fixed
* src/z80/ralloc.c (packRegsForHLUse): Added pack into HL for cast then ipush.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1389
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 11 Oct 2001 14:23:58 +0000 (14:23 +0000)]
a bug fix of Martijn van Buul
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1388
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 11 Oct 2001 13:41:47 +0000 (13:41 +0000)]
a ppc endian fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1387
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 11 Oct 2001 11:51:14 +0000 (11:51 +0000)]
more fixes for the constant values
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1386
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 10 Oct 2001 12:25:04 +0000 (12:25 +0000)]
fixed a loop optimation bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1385
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Wed, 10 Oct 2001 04:09:56 +0000 (04:09 +0000)]
Added bug 469671
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1384
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Wed, 10 Oct 2001 03:48:58 +0000 (03:48 +0000)]
* src/z80/gen.c (shiftIntoPair): Fixed up warning.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1383
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 9 Oct 2001 14:49:04 +0000 (14:49 +0000)]
solaris (ppc?) ignores 'L' for non-integers in the scanf format string
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1382
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 9 Oct 2001 12:12:51 +0000 (12:12 +0000)]
int=32 but short=16
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1381
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 9 Oct 2001 11:51:38 +0000 (11:51 +0000)]
fixed bug #469089 part 1
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1380
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 9 Oct 2001 05:56:40 +0000 (05:56 +0000)]
Added more PIC regression testing.
Signed casting is now working. Signed addition and subtraction now working.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1379
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Tue, 9 Oct 2001 02:28:32 +0000 (02:28 +0000)]
* src/SDCCmain.c: Added --fommit-frame-pointer option and implemented in the z80 port.
* src/z80/gen.c (genPlus): Fixed to work with extended stack. Also fixed genMinus, genCmp. genUMinus is still left.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1378
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Mon, 8 Oct 2001 18:22:35 +0000 (18:22 +0000)]
* src/SDCCmain.c (preProcess): added define SDCC_NOOVERLAY
* src/device/lib/_mulint.c : removed hint: nooverlay bug
* src/device/lib/_mullong.c : removed hint: nooverlay bug
* src/device/lib/_divuint.c : removed hint: nooverlay bug
* src/device/lib/_divulong.c: removed hint: nooverlay bug
* src/device/lib/_moduint.c : removed hint: nooverlay bug
* src/device/lib/_modulong.c: removed hint: nooverlay bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1377
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 8 Oct 2001 13:44:41 +0000 (13:44 +0000)]
fixed bug #467893
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1376
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 8 Oct 2001 11:34:37 +0000 (11:34 +0000)]
fixed bug #468824
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1375
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 8 Oct 2001 10:24:00 +0000 (10:24 +0000)]
fixed bug #468811
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1374
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 7 Oct 2001 18:28:35 +0000 (18:28 +0000)]
* src/z80/gen.c (setupPair): Added 'extended stack' support for the z80. Can now have local variables or parameters of more than 127 bytes in size. Increadibly slow, but it will work. Currently anything involving the carry flag.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1373
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 7 Oct 2001 17:12:13 +0000 (17:12 +0000)]
Created
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1372
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 7 Oct 2001 16:55:31 +0000 (16:55 +0000)]
* support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free at all. Fixes runtime segfault.
* support/regression/tests/scott-compare3.c (c_abcd): Fixed up casts.
* src/SDCCmain.c (WRITE_SEG_LOC): Fixed up to use Safe_strdup.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1371
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 15:53:02 +0000 (15:53 +0000)]
fixed the return value of gets()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1369
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 15:49:53 +0000 (15:49 +0000)]
this looks better
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1368
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 7 Oct 2001 14:29:06 +0000 (14:29 +0000)]
port to mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1367
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 13:21:54 +0000 (13:21 +0000)]
let's not assume it is a symbol
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1366
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 12:49:13 +0000 (12:49 +0000)]
too much overhead, and the ?: misbehaved
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1365
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 7 Oct 2001 11:48:15 +0000 (11:48 +0000)]
don't unconditionally cast to unsigned long
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1364
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 6 Oct 2001 23:44:03 +0000 (23:44 +0000)]
* src/SDCCpeeph.c (peepHole): Fixed all leaks. Added trace support for freeing lines. Optimised restart logic to re-run instead of restart. Now compiles dscan.c on ~60MB instead of ~200MB.
* support/Util/NewAlloc.c: Added ability to use libgc instead of malloc. Added Safe_free and Safe_strdup. Added trace support where you can log allocations and free all at once.
* src/z80/gen.c (genZ80Code): Added de-allocation via trace support.
* src/pic/gen.c: Removed Safe_strdup.
* configure.in: Added option to enable libgc support.
* src/SDCCbitv.c (bitVectnBitsOn): Optimised.
(bitVectUnion): Optimised.
(bitVectIntersect): Optimised.
(bitVectBitsInCommon): Optimised.
(bitVectCplAnd): Optimised.
* support/makebin/makebin.c (usage): Removed getopt as mingw32 doesn't have it. Sigh.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1362
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 6 Oct 2001 16:59:25 +0000 (16:59 +0000)]
* support/makebin/makebin.c (usage): Removed getopt as mingw32 doesn't have it. Sigh.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1361
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 6 Oct 2001 15:06:24 +0000 (15:06 +0000)]
Stupid temporary fix for bug #467035 (throws a warning). At least it keeps the regression tests going.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1360
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 6 Oct 2001 09:48:26 +0000 (09:48 +0000)]
fixed valCastLiteral()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1359
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 5 Oct 2001 16:37:08 +0000 (16:37 +0000)]
win32api not available
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1358
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 5 Oct 2001 12:01:58 +0000 (12:01 +0000)]
more efficient constant value operations
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1357
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Fri, 5 Oct 2001 06:22:48 +0000 (06:22 +0000)]
Subtract unsigned int's from lits now works. Fixed a couple compilation warnings.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1356
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 4 Oct 2001 12:48:15 +0000 (12:48 +0000)]
finalized the fix for bug #467142
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1355
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 4 Oct 2001 10:20:14 +0000 (10:20 +0000)]
fixed bug #467142
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1354
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 4 Oct 2001 09:02:28 +0000 (09:02 +0000)]
fixed a compiler crash
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1353
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 4 Oct 2001 08:12:33 +0000 (08:12 +0000)]
fixed bug #467655
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1352
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 3 Oct 2001 18:49:06 +0000 (18:49 +0000)]
../cvsm
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1351
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 3 Oct 2001 16:28:42 +0000 (16:28 +0000)]
replaced by _mulint.c and _mullong.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1350
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 3 Oct 2001 16:24:51 +0000 (16:24 +0000)]
* src/device/lib/_mulint.c : new, with assember functions
* src/device/lib/_mullong.c : new, with assember functions
* src/device/lib/_divuint.c : with assember functions
* src/device/lib/_divsint.c : with assember functions
* src/device/lib/_divulong.c: with assember functions
* src/device/lib/_divslong.c: with assember functions
* src/device/lib/_moduint.c : with assember functions
* src/device/lib/_modsint.c : with assember functions
* src/device/lib/_modulong.c: with assember functions
* src/device/lib/_modslong.c: with assember functions
* src/device/lib/libint.lib: replaced _muluint.c and _mulsint.c by _mulint.c
* src/device/lib/liblong.lib: replaced _mululong.c and _mulslong.c by _mullong.c
* src/device/lib/Makefile.in: replaced _muluint.c and _mulsint.c by _mulint.c
replaced _mululong.c and _mulslong.c by _mullong.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1349
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 3 Oct 2001 12:01:51 +0000 (12:01 +0000)]
sequence of specifiers in pintTypeChain() corrected
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1348
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 3 Oct 2001 08:35:55 +0000 (08:35 +0000)]
constVal() now returns the cheapest val as possible
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1347
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Wed, 3 Oct 2001 08:04:13 +0000 (08:04 +0000)]
pCode peep rule comparison was ignoring labels when operands were wild cards. (Reported by Ralf Forsberg.)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1346
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Wed, 3 Oct 2001 07:36:43 +0000 (07:36 +0000)]
Added new regression test add2.c - tests adding lit's to unsigned ints. Literal addition to unsigned chars and unsigned ints has been more fully tested. Fixed a bug with comparisons to unsigned ints.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1345
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 2 Oct 2001 12:34:02 +0000 (12:34 +0000)]
fixed the:
void fun(int arg, void (*iterator)(int arg) reentrant) {
(*iterator)(arg, arg);
}
case
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1344
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 2 Oct 2001 12:20:14 +0000 (12:20 +0000)]
a more general fix for bug #466586
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1343
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Tue, 2 Oct 2001 03:45:23 +0000 (03:45 +0000)]
Operators <<, >>, are now fully working for constant shifts on unsigned char and unsigned int.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1342
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Tue, 2 Oct 2001 01:10:42 +0000 (01:10 +0000)]
* support/regression/fwk/lib/testfwk.c (__printf): Removed GENERIC.
* support/regression/tests/bug-467035.c: Created.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1341
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Mon, 1 Oct 2001 20:39:20 +0000 (20:39 +0000)]
* src/SDCCglue.c: test, if win32api is available for MINGW
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1340
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Mon, 1 Oct 2001 20:12:41 +0000 (20:12 +0000)]
* src/SDCCsymt.c: no more _modifier in printTypeChain()
* support/regression/tests/driverstruct.c: REENTRANT for mcs51
* support/regression/ports/gbz80/spec.mk: removed GENERIC
* support/regression/ports/host/spec.mk: removed GENERIC
* support/regression/ports/mcs51/spec.mk: removed GENERIC
* support/regression/ports/z80/spec.mk: removed GENERIC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1339
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 1 Oct 2001 15:48:44 +0000 (15:48 +0000)]
fixed the "void (*i)(void) = f" case
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1338
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 1 Oct 2001 14:21:56 +0000 (14:21 +0000)]
Too much opposition against these range checks. It will only work now with --pedantic (when it is implemented).
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1337
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 1 Oct 2001 12:50:13 +0000 (12:50 +0000)]
why doesn't this one go with a ci in the root dir?
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1336
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 1 Oct 2001 12:42:29 +0000 (12:42 +0000)]
Fixed bug #466586 part 1
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1335
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 1 Oct 2001 09:49:15 +0000 (09:49 +0000)]
fixed bug #466587
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1334
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 1 Oct 2001 08:55:45 +0000 (08:55 +0000)]
fixed bug #462474
strip doesn't need -s but solaris chocks on it
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1333
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 30 Sep 2001 18:42:31 +0000 (18:42 +0000)]
* sim/ucsim/cmd.src/Makefile.in ($(PRJDIR)/libcmd.a): Changed all ar references to $(AR) for Solaris.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1332
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 30 Sep 2001 13:39:13 +0000 (13:39 +0000)]
fixed bug #466026
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1331
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 30 Sep 2001 11:15:45 +0000 (11:15 +0000)]
Fixed the "unqualified_pointer pointer" rule that confused pointerTypes() in
the "highly unlikely" case that type had a UPOINTER
char code * data * * xdata cpdpgp_x;
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1330
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 30 Sep 2001 03:53:13 +0000 (03:53 +0000)]
Added more regression test to the pic port. Added support for <<, >>, ^
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1329
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 30 Sep 2001 01:51:23 +0000 (01:51 +0000)]
Created
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1328
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 30 Sep 2001 00:07:51 +0000 (00:07 +0000)]
Created
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1325
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 30 Sep 2001 00:05:38 +0000 (00:05 +0000)]
* Makefile (sdcc-libs): Added makebin to the list of standard targets.
* support/regression/ports/z80/spec.mk: Updated to use env for sdcc bin dir for automatic regression.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1324
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 29 Sep 2001 23:18:27 +0000 (23:18 +0000)]
minor improvement to register allocator in --stack10bit mode
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1323
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 29 Sep 2001 07:54:54 +0000 (07:54 +0000)]
fixed bug #466029
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1319
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 28 Sep 2001 15:59:41 +0000 (15:59 +0000)]
That did soften the pain but didn't cure the illness.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1318
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kbongers [Thu, 27 Sep 2001 22:04:24 +0000 (22:04 +0000)]
adjust for mach os-x support
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1317
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 27 Sep 2001 11:10:48 +0000 (11:10 +0000)]
That wasn't a good idea
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1316
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 27 Sep 2001 10:09:03 +0000 (10:09 +0000)]
more pointer issues
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1315
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Wed, 26 Sep 2001 16:51:03 +0000 (16:51 +0000)]
pointer issues
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1314
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Wed, 26 Sep 2001 04:48:42 +0000 (04:48 +0000)]
* configure.in: Fixed up so that ucsim is only configured once.
* support/cpp2/configure.in: Fixed to use the program transform to append the .exe for the win32 build.
* src/SDCCutil.c (getPrefixFromBinPath): Fixed up to work with win32 in all of its glory.
(getPathDifference): As above.
* src/SDCCmain.c (preProcess): Changed to use a temporary file in a proper temp directory. Fixed case where pre-processing only.
* src/SDCCglue.c (tempfilename): Added function for pre-processor.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1313
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Tue, 25 Sep 2001 19:50:33 +0000 (19:50 +0000)]
"Fix" of compiler crash
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1312
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 25 Sep 2001 13:13:31 +0000 (13:13 +0000)]
another small improvement ;(
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1311
4a8a32a2 -be11-0410-ad9d-
d568d2c75423