]> git.gag.com Git - fw/sdcc/commit
* device/lib/printf_large.c (output_digit, calculate_digit): optimized,
authorMaartenBrock <MaartenBrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 2 Jun 2006 08:20:17 +0000 (08:20 +0000)
committerMaartenBrock <MaartenBrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 2 Jun 2006 08:20:17 +0000 (08:20 +0000)
commita1028493f3e38ab0704267390c50f09d63fdc3aa
tree4975bf7bc62e732545c44b996b4883e4d04b35b0
parent742f16c4143dc494232d0138b78e0ca63aefc7d2
* device/lib/printf_large.c (output_digit, calculate_digit): optimized,
  (_print_format): fixed printing pointers
* src/mcs51/gen.c (emitLabel, movb): new, added,
  (genAssign): small optimization,
  (genDjnz): fixed stack overflow bug,
  (throughout): replaced sprintf with SNPRINTF,
  replaced mcs51_regWithIdx with REG_WITH_INDEX,
  replaced emitcode("mov", "b,...") with MOVB(...),
  replaced emitcode("", "%05d$:", lbl->key + 100) with emitLabel(lbl),
  replaced D(emitcode("; genXXX", "")) with D(emitcode(";", "genXXX"))
* src/mcs51/peeph.def: added rules 140 and 264
* src/SDCCmem.c (allocLocal): store register declared locals in DSEG/OSEG
  so they may get optimized into registers

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4202 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
device/lib/printf_large.c
src/SDCCmem.c
src/mcs51/gen.c
src/mcs51/peeph.def