2005-07-12 Frieder Ferlemann <Frieder.Ferlemann AT web.de>

	* src/mcs51/peeph.def: added labelrefcounting for peepholes
	  (patch #1144962), added peephole 300, enabled 259.x
	* doc/sdccman.lyx: removed screenshot and provided link instead

2005-07-05 Frieder Ferlemann <Frieder.Ferlemann AT web.de>

	* doc/sdccman.lyx: added section about debugging with ddd
	* doc/figures/ddd_example.eps: screenshot of debugging session

2005-07-04 Raphael Neider <rneider AT web.de>

	* src/pic/gen.c (genPointerGet): handle pointers to CONST values
	  like CODE pointers, fixes #1115683
	* src/pic/pcode.c (DoBankSelect): forget LastRegIdx during function
	  call, fixes bugs #1232211, #1228110,
	  fixed wrong casts to pCodeFlow from pCodeInstructions

2005-07-04 Raphael Neider <rneider AT web.de>

	* src/pic/gen.c (popGet): changed assert to allow for
	  bit operands
	* (popGetAddr): changed signature to provide
	  an additional index, patched all call sites
	* (genCmpEq): handle literal-like operands correctly
	* (genAddrOf): added sanity checks on __code/__data pointers
	* (genAssign): added handling of symbols from __code section
	* (gencjne): do not generate code for comparisons whose result
	  is neither stored nor used, fixes bug #1171114
	* (AccLsh, AccRsh): operate on operand instead of WREG
	* (shift{Left,Right}_Left2ResultLit): NEW, size independant
	  replacement for Shift{LR}{12}Left2Result; shift (byte/int/long)
	  by known count
	* rewrote complete shift-by-literal logic, commented unused
	  functions out
	* (genConstPointerGet): get multiple bytes (if result size > 1),
	  fixed handling of non-immediate addresses
	* (genPointerGet): handle CODE pointers like CONST pointers
	* (genpic14Code): insert C-SRC lines as Cource-pCodes
	* ({aop,op}_isLitLike): NEW, single place to decide whether an
	  operand is to be treated as a literal or not
	* (mov2w,genPcall,genCmpEq),
	  src/pic/genarith.c: use aop_isLitLike() to decide between
	  literal/register contents
	* (addSign): added missing offset
	* src/pic/gen.h: remove newline after FENTRY/FEXIT comments,
	  only emit comment in debug-mode,
	  use {aop,op}_isLitLike throughout the file
	* src/pic/glue.c: fix initializers for pointers (work in progress)
	* src/pic/pcode.c (get_op): honor index on _const symbols
	* ({reset,dump}pCodeStatistics): NEW, estimate code size
	* (dumppBlock): added pCode size estimation
	* src/pic/ralloc.c (deassignLRs,serialRegAssign,packRegisters):
	  check for IS_SYMOP before OP_SYMBOL'ing
	* fixed indentation, compacted switch-statements
	* (allocReg): find free register and allocate it instead of
	  allocating new registers all the time
	* (deassignLRs): prevent POINTER_GET's from being assigned the same
	  registers as its operands (necessary only for multibyte GETs)

2005-07-01 Raphael Neider <rneider AT web.de>

	* src/pic/gen.h: added prototypes emitpComment, popGetAddr and
	  debugging .asm-output macros FENTRY + FEXIT
	* src/pic/gen.c (Safe_vsnprintf): NEW, is there a more generic
	  way... I wonder...
	* (emitpComment): NEW, printf to pCode
	* (popGet): added assert on too large offsets, fixed PO_IMMEDIATE's
	  offset handling
	* (popGetAddr): NEW, variant of popGet to access an immediates
	  high(er) bytes instead of the n'th byte of memory they reference,
	  replaced popGet with popGetAddr where neccessary
	* (genDataPointerGet): reactivated and fixed implementation
	* (genNearPointerGet): enabled call to genDataPointerGet, fixes array-
	  accesses
	* (genDataPointerSet): fixed multibyte assignments
	* (genpic14Code): fixed --i-code-in-asm handling
	* src/pic/genarith.c: fixed PO_IMMEDIATE issue using popGetAddr,
	* (genPlus): fixed index-out-of-bounds error
	* src/pic/pcode.c (get_op): fixed PO_IMMEDIATE's index/offset handling
	* src/pic/ralloc.c: added debugging output macro FENTRY2
	* (spillThis): fixed indentation, enbraced for-body for clarity
	* (rematStr): commented out as now unused
	* (regTypeNum): commented out special spill case (overwrites
	  arbitrary values)
	* fixes bugs #1229346, #1216476 (both arrays) and #1115667 (SIGSEGV)

2005-06-30 Maarten Brock <sourceforge.brock AT dse.nl>

	* doc/sdccman.lyx: documented sfr16/sfr32,
	  added example for using storage class with function pointers
	* src/mcs51/gen.c (genPlusIncr): optimized small offsets from dptr

2005-06-28 Maarten Brock <sourceforge.brock AT dse.nl>

	* device/lib/_gptrget.c: also push/pop _PSBANK, added # to 0x03
	* device/lib/_itoa.c,
	* device/lib/_ltoa.c: optimized codesize
	* src/SDCCsymt.c (checkSClass): added sanity check for sfr at addresses,
