From: Karl Bongers <karl@tu...> - 2001-09-02 06:21:54
I'm testing -mds390 --model-small compilations,
and it actually passes most of the regression tests,
BUT.. its allocating local function vars to XSEG.
I can't figure out why its putting these in XSEG
instead of DSEG. Anyone want to try and figure
out what I missed?(Kevin?)
I put in SDCCmain.c:
/* #define JAMIN_DS390 */
and asociated code, so I can substitute -mds390
compilations by default to compare the code generated.
I'm trying to determine how different ds390 and mcs51
are, see how feasable killing mcs51 might be.
With this switch set, the libraries can be compiled and
compared, as well as the regression tests(make test-mcs51).
I put in traces "Use_" in ds390/gen.c to see how much
AP register and dual-dptr stuff is going on. These will
appear in .asm when compiled small or large.
examples\ds390\test390 is a simple test prog I added for
work like adding ucsim flat24 support, just a simple test bed.