* src/pic/gen.h: added emitpcode macro for debugging
authortecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 23 Jul 2005 17:22:21 +0000 (17:22 +0000)
committertecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 23 Jul 2005 17:22:21 +0000 (17:22 +0000)
commit542c4b6a2ebc9b585ea74c9ee30dcbe1d376b988
tree00f2ac217e4916c82ec9730984936757a1ab335c
parent8c0ad6d427d968c13acd4d1f26540a54ee7a3caa
* src/pic/gen.h: added emitpcode macro for debugging
* src/pic/gen.c (emitpcode): renamed to emitpcode_real
  and replace by macro adding debug information on demand
* (genNot): fixed to C semantics (!0 = 1; !x = 0 iff x != 0)
* (gencjne): tried to fix; replaced with correct (slower) code
* (gen{Unp,P}ackBits): fixed single bit access
* src/pic/pcode.c (AnalyzepCode): fixed DFPRINTF argument
* src/pic/pcodepeep.c (pCodeSearchCondition): fixed finding
  previous instruction
* src/pic/pcoderegs.c (regIsSpecial): NEW, check whether a
  register has to be handled with care (forbidding movement
  of assignments/uses, removing assignments completely, ...)
* (pCodeOptime2pCodes): make use of regIsSpecial
* added lots of debugging output (commented out)
* src/pic/rallloc.c (deassignLRs): prevent operand registers
  from being reused as result UNLESS it is known to work

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3812 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/pic/gen.c
src/pic/gen.h
src/pic/pcode.c
src/pic/pcodepeep.c
src/pic/pcoderegs.c
src/pic/ralloc.c