]>
git.gag.com Git - fw/sdcc/log
michaelh [Wed, 28 Nov 2001 01:57:35 +0000 (01:57 +0000)]
Fixed up s51 autodetect
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1650
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Wed, 28 Nov 2001 01:46:36 +0000 (01:46 +0000)]
Cleaned up warnings
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1649
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Wed, 28 Nov 2001 01:45:19 +0000 (01:45 +0000)]
Fixed up s51 autodetect
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1648
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Mon, 26 Nov 2001 00:57:16 +0000 (00:57 +0000)]
Previous fix was BADDD . this should do it
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1647
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 25 Nov 2001 23:29:25 +0000 (23:29 +0000)]
Fixed problem where the same slocs was shared between two operands
in which case they should get different aops
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1646
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 25 Nov 2001 23:24:55 +0000 (23:24 +0000)]
Fixed problem where slocs can be shared by two operands, in which case
then should go to different aops if the sizes differ
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1645
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 25 Nov 2001 23:19:30 +0000 (23:19 +0000)]
Donot reverse parameters for "builtin" functions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1644
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 25 Nov 2001 22:16:34 +0000 (22:16 +0000)]
Fixed algebraicOpts() for division by self
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1643
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sun, 25 Nov 2001 19:06:14 +0000 (19:06 +0000)]
* support/regression/tests/bug-485362.c: Added.
* support/regression/tests/simplefloat.c (testDivNearOne): Added.
* src/z80/gen.c (aopOp): Fixed case where left and result are in the same spill loc and they have different sizes.
* src/z80/peeph.def: Added rules for optimising two byte compares on the same thing, and to optimise two ptr assign.
* src/z80/gen.c (aopDump): Added a dump function.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1642
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 25 Nov 2001 01:55:58 +0000 (01:55 +0000)]
--debug is wrong
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1641
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 25 Nov 2001 01:45:20 +0000 (01:45 +0000)]
* sim/ucsim/s51.src/glob.cc: DS390 SFRs and bits added.
* sim/ucsim/s51.src/port.cc: Port 4 and 5 added.
* sim/ucsim/s51.src/regs51.h: DS390 SFRs added.
* sim/ucsim/s51.src/uc390.cc: Some details improved, CKRDY works for tinibios.
* sim/ucsim/s51.src/uc390cl.h: Work in progress.
* sim/ucsim/sim.src/uccl.h: 6 ports for DS390.
* support/regression/fwk/lib/testfwk.c: Run with tinibios.
* support/regression/ports/mcs51/spec.mk: Fine tuninig.
* support/regression/ports/ds390/support.c: Use tinibios.
* support/regression/ports/ds390/spec.mk: Fine tuning, use tinibios.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1640
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 25 Nov 2001 01:39:52 +0000 (01:39 +0000)]
* sim/ucsim/s51.src/glob.cc: DS390 SFRs and bits added.
* sim/ucsim/s51.src/port.cc: Port 4 and 5 added.
* sim/ucsim/s51.src/regs51.h: DS390 SFRs added.
* sim/ucsim/s51.src/uc390.cc: Some details improved, CKRDY works for tinibios.
* sim/ucsim/s51.src/uc390cl.h: Work in progress.
* sim/ucsim/sim.src/uccl.h: 6 ports for DS390.
* support/regression/fwk/lib/testfwk.c: Run with tinibios.
* support/regression/ports/mcs51/spec.mk: Fine tuninig.
* support/regression/ports/ds390/support.c: Use tinibios.
* support/regression/ports/ds390/spec.mk: Fine tuning, use tinibios.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1639
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sat, 24 Nov 2001 06:04:01 +0000 (06:04 +0000)]
Added regression testing files that should've been added a long time ago.
Fixed ptr gen bugs. (need to dive into ralloc... ptrs are generated poorly)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1638
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 24 Nov 2001 04:44:41 +0000 (04:44 +0000)]
* src/z80/ralloc.c (packRegsForHLUse3): Changed to not pack into HL if anything is in direct space.
(packRegsForHLUse3): Added packing support for send, cast, and return value from a call.
* src/z80/peeph.def: Added rules for optimising pushes of part of a pair.
* src/z80/gen.c (emitCall): Changed the stack fixup to not use HL.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1637
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Fri, 23 Nov 2001 21:43:26 +0000 (21:43 +0000)]
Made it assembler agnostic everything assembler specific now handled in asm.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1636
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Fri, 23 Nov 2001 21:42:21 +0000 (21:42 +0000)]
More fixes for DPTR use
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1635
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Fri, 23 Nov 2001 21:41:35 +0000 (21:41 +0000)]
Changed default stack location to 0x400007
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1634
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Fri, 23 Nov 2001 21:40:30 +0000 (21:40 +0000)]
Added tokens to print bytes at different offsets
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1633
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Fri, 23 Nov 2001 21:39:30 +0000 (21:39 +0000)]
& sp with 0xff
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1632
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 23 Nov 2001 19:45:14 +0000 (19:45 +0000)]
temporary disabled checkConstantRange, left a warning as a reminder
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1631
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Fri, 23 Nov 2001 17:54:03 +0000 (17:54 +0000)]
PIC Port - Totally rewrote signed comparisons. It was a horrendously hideous bitch of a job that I wouldn't wish on my worst enemy.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1630
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 23 Nov 2001 10:18:30 +0000 (10:18 +0000)]
fixed the "(int) = -0x81" problem
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1629
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 21 Nov 2001 17:11:55 +0000 (17:11 +0000)]
functions containing only __builtin functions can overlay variables
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1628
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 21 Nov 2001 17:10:33 +0000 (17:10 +0000)]
added __typeof extention will return type of a variable / expression
as enumerated in typeof.h
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1627
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 21 Nov 2001 17:06:41 +0000 (17:06 +0000)]
Added __builtin function __builtin_memset_x
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1626
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 21 Nov 2001 17:04:35 +0000 (17:04 +0000)]
Has __typeof enumerations
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1625
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 21 Nov 2001 16:56:29 +0000 (16:56 +0000)]
a) Fixed a buch of bugs with DPTR use
b) Added functionality to check if a DPTR use after register allocation and before filling gaps.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1624
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 19 Nov 2001 14:21:12 +0000 (14:21 +0000)]
fixed a last minute type
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1623
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 19 Nov 2001 13:49:17 +0000 (13:49 +0000)]
Fixed bug #483124
The experimental if-optimizer/warner goes with it
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1622
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 19 Nov 2001 05:38:44 +0000 (05:38 +0000)]
* src/z80/gen.c (genCmp): Fixed compare on unsigned.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1621
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Mon, 19 Nov 2001 04:56:44 +0000 (04:56 +0000)]
* src/z80/ralloc.c (packRegsForHLUse3): Created and optimised.
(packRegsForIYUse): Created and optimised.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1620
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 18 Nov 2001 19:41:27 +0000 (19:41 +0000)]
port to mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1619
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 18 Nov 2001 19:28:59 +0000 (19:28 +0000)]
port to mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1618
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 18 Nov 2001 18:58:21 +0000 (18:58 +0000)]
Implemented builtin functions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1617
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 18 Nov 2001 18:56:30 +0000 (18:56 +0000)]
Implementaion of builtin functions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1616
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 18 Nov 2001 18:40:38 +0000 (18:40 +0000)]
details of __builtin function processing
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1615
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 18 Nov 2001 16:38:47 +0000 (16:38 +0000)]
* sdcc/support/regression/tests/bug-460010.c: fix seg violation on host
* sdcc/support/regression/tests/muldiv.c: fix output on mcs51
* sdcc/support/regression/tests/stacks.c: fix DSEG overflow on mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1613
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sun, 18 Nov 2001 01:41:01 +0000 (01:41 +0000)]
Fixed BUG #482929 - defs , uses & clashes should be cleared
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1612
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 17 Nov 2001 17:16:40 +0000 (17:16 +0000)]
Keep uses & defs bitVectors updated during pack* operations
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1611
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 17 Nov 2001 16:17:16 +0000 (16:17 +0000)]
prelimanary fix for bug #480076
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1610
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 17 Nov 2001 11:18:54 +0000 (11:18 +0000)]
Although a one byte char array has size==1, it can't be accuse
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1609
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 16 Nov 2001 19:31:47 +0000 (19:31 +0000)]
this is better than a wild guess
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1608
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 16 Nov 2001 19:21:24 +0000 (19:21 +0000)]
another small stack fix, no test case but this should be better
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1607
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
karahalios [Fri, 16 Nov 2001 16:55:12 +0000 (16:55 +0000)]
Modified error message format to conform closer to GNU C. This helps GUI
developement environments (in particular Mac OS X Project Builder) display &
track error messages better.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1606
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 16 Nov 2001 15:34:32 +0000 (15:34 +0000)]
small improvement of --dumptree readabilety
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1605
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 16 Nov 2001 14:35:57 +0000 (14:35 +0000)]
let's try again: a small stack fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1604
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 16 Nov 2001 14:32:24 +0000 (14:32 +0000)]
reverting to 1.127
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1603
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Fri, 16 Nov 2001 14:07:03 +0000 (14:07 +0000)]
small stack fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1602
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Fri, 16 Nov 2001 03:57:49 +0000 (03:57 +0000)]
hack for getting '390 compile to work
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1601
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
karahalios [Fri, 16 Nov 2001 00:31:27 +0000 (00:31 +0000)]
Modified error message format to conform closer to GNU C. This helps GUI
developement evnvironments (in particular Mac OS X Project Builder) display &
track error messages better.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1600
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Thu, 15 Nov 2001 22:50:53 +0000 (22:50 +0000)]
Added option --all-callee-saves will force all functions
to act as callee saves
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1599
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Thu, 15 Nov 2001 22:49:57 +0000 (22:49 +0000)]
improved heuristics for spilling
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1598
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Thu, 15 Nov 2001 22:49:21 +0000 (22:49 +0000)]
a) fixed genAddrOf bug for parameters
b) improved heuristics for spilling
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1597
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Thu, 15 Nov 2001 22:47:30 +0000 (22:47 +0000)]
a) Changed _ESP to esp
b) Improved hueristics for spilling
c) fixed DPTR use bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1596
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Thu, 15 Nov 2001 14:14:24 +0000 (14:14 +0000)]
fixed undefined _ESP in main.c
fixed genPcall() for screwing dptr
optimized genCall for dptr use
fixed/extended funptr.s
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1595
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Thu, 15 Nov 2001 05:26:42 +0000 (05:26 +0000)]
Fix broken genXor in bug-460444
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1594
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 21:08:43 +0000 (21:08 +0000)]
slocs are not statics
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1593
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 21:07:44 +0000 (21:07 +0000)]
Second pass for register allocator
set DISABLE_FILL_GAPS envirornment variable to disable
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1592
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 19:08:12 +0000 (19:08 +0000)]
Fixed another AOP_STR & ruonly problem
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1591
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 07:14:54 +0000 (07:14 +0000)]
Fixed a post increment bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1590
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 07:14:17 +0000 (07:14 +0000)]
Many changes. Started a second pass to the register allocator & true 10bit stack
fully implemented
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1589
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 07:12:46 +0000 (07:12 +0000)]
Added spillA - flag set when spilt by register allocator
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1588
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 07:11:22 +0000 (07:11 +0000)]
Check for sign only when required
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1587
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 05:51:17 +0000 (05:51 +0000)]
Discovered pointer type for & operation could be incorrect for variables on
ds390 stack
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1586
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Wed, 14 Nov 2001 05:23:59 +0000 (05:23 +0000)]
Added bpx Needed for 10bit stack pointer ds390
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1585
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Tue, 13 Nov 2001 20:09:52 +0000 (20:09 +0000)]
* sdcc/sim/device/lib/_gptrget.c: mem region 5 (idata) added
* sdcc/sim/device/lib/_gptrput.c: mem region 5 (idata) added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1584
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Tue, 13 Nov 2001 19:52:03 +0000 (19:52 +0000)]
* sdcc/sim/device/lib/_gptrget.c: mem region 5 (idata) added
* sdcc/sim/device/lib/_gptrput.c: mem region 5 (idata) added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1583
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 13 Nov 2001 18:45:07 +0000 (18:45 +0000)]
size of a function is the size of a code pointer
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1582
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 13 Nov 2001 16:34:13 +0000 (16:34 +0000)]
fixed bug #481053
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1581
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 13 Nov 2001 15:38:13 +0000 (15:38 +0000)]
prevent push/pop-s for SEND registers
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1580
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Tue, 13 Nov 2001 13:25:43 +0000 (13:25 +0000)]
all excess initializers (that I can think of) are catched now
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1579
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 12 Nov 2001 21:08:02 +0000 (21:08 +0000)]
More excess initializer warnings. Global scalar and auto's yet to come..
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1578
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 12 Nov 2001 19:46:16 +0000 (19:46 +0000)]
extra warnings for excess scalar/array/struct initializers
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1577
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 12 Nov 2001 17:14:17 +0000 (17:14 +0000)]
fixed bug #478037
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1576
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 12 Nov 2001 13:46:45 +0000 (13:46 +0000)]
prevent a timeout of the simulator
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1575
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 12 Nov 2001 13:40:45 +0000 (13:40 +0000)]
size of a function is the size of a code pointer
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1574
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 12 Nov 2001 10:14:26 +0000 (10:14 +0000)]
fixed bug #480712
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1573
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Mon, 12 Nov 2001 09:32:07 +0000 (09:32 +0000)]
small fix where op was a value
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1572
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 11 Nov 2001 21:57:07 +0000 (21:57 +0000)]
fixed bug #479725
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1571
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 11 Nov 2001 21:52:47 +0000 (21:52 +0000)]
* sdcc/sim/ucsim/globals.cc: New: IXRAM.
* sdcc/sim/ucsim/stypes.h: New: IXRAM.
* sdcc/sim/ucsim/s51.src/uc390.cc: New: IXRAM.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1570
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 11 Nov 2001 20:29:57 +0000 (20:29 +0000)]
fixed bug #480645
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1569
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 11 Nov 2001 18:14:05 +0000 (18:14 +0000)]
make it running
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1568
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 11 Nov 2001 16:31:50 +0000 (16:31 +0000)]
fall back to e format if float is too big
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1567
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 11 Nov 2001 16:22:09 +0000 (16:22 +0000)]
slightly more enhanced fp test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1566
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 11 Nov 2001 11:33:04 +0000 (11:33 +0000)]
parameters of internal c support functions are extern
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1565
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sun, 11 Nov 2001 09:34:16 +0000 (09:34 +0000)]
added some _'s
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1564
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 11 Nov 2001 08:07:32 +0000 (08:07 +0000)]
- Added setReverse to reverse the order of a set
- Parameters in call stack were reversed
- removed extraneous parameters in popGet (which was derived from aopGet)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1563
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Sun, 11 Nov 2001 00:43:31 +0000 (00:43 +0000)]
we sometimes use five elements of aop_str
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1562
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 23:47:21 +0000 (23:47 +0000)]
Introduced DPTR use - now DPTR will allocated to liveRanges much more
frequently
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1561
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 23:45:10 +0000 (23:45 +0000)]
Improved accuse
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1560
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 23:43:13 +0000 (23:43 +0000)]
Added iCodeSeqhTab - hashTable maintained with ic->seq
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1559
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 23:42:19 +0000 (23:42 +0000)]
Cosmetics -- prints ruonly flag in printOperand
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1558
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 23:41:22 +0000 (23:41 +0000)]
Minor impreovement to cse - prefer register equivalent (if iTemps share the
same spil location)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1557
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
johanknol [Sat, 10 Nov 2001 17:50:51 +0000 (17:50 +0000)]
fixed and cleaned up fp support, optimisation yet to come
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1556
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 16:04:41 +0000 (16:04 +0000)]
Fixed the range computation for SEND iCode
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1555
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 06:42:23 +0000 (06:42 +0000)]
Added initial cseCostEstimation function, this I think will grow over a period of time
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1554
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 06:41:41 +0000 (06:41 +0000)]
Added NULL entry for port->cseOk
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1553
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 06:39:57 +0000 (06:39 +0000)]
Added NULL to port->cseOk function
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1552
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 06:39:13 +0000 (06:39 +0000)]
Small change in valCastLiteral. I think this is a BUG in GCC convertion of
float to short was screwing up .
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1551
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sandeep [Sat, 10 Nov 2001 06:38:03 +0000 (06:38 +0000)]
Added eBBlockNum to iCode .. now we know which basic block this iCode belongs to
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1550
4a8a32a2 -be11-0410-ad9d-
d568d2c75423