]> git.gag.com Git - fw/sdcc/commit - src/pic16/gen.c
* src/pic16/gen.c (pic16_popCopyReg): made copying work for extended
authortecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 5 Apr 2005 11:34:14 +0000 (11:34 +0000)
committertecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 5 Apr 2005 11:34:14 +0000 (11:34 +0000)
commit3dd222a7b0e8c4766d750f87a073ff9ff1e8ba50
tree93c18522dc28bd005cfbbcd9c419f31b87c76f5c
parentee24d756bf207a67779fad9a497a52085d1ea81f
* src/pic16/gen.c (pic16_popCopyReg): made copying work for extended
  structs as well (using memcpy)
* (genFunction): fixed comparison, used pCodeOpLabel to reduce warning
  on ISRs (GOTO has no label)
* src/pic16/device.h: added OF_OPTIMIZE_DF
* src/pic16/main.c: added compiler switch --optimize-df to enable the
  new data flow analysis/optimization
* src/pic16/pcode.c: added (prototypes for and implementation of)
  dataflow analysis functions, fixed pCodeInstructions' inCond and
  outCond values, made RCALL a branch instruction
* (pic16_unlinkpCode): keep C line if possible
* (pic16_pCodeUnlink): removed cast on left side of assignment, have
  C line moved if possible
* (pic16_getRegFrompCodeOp): NEW, improved version of...
* (pic16_getRegFromInstruction,pic16_getRegFromInstruction2): changed
  to use new pic16_getRegFrompCodeOp (works for more SFRs)
* (pic16_BuildFlow): fixed skip instructions with label (did not start
  new flow)
* (pic16_getJumptabpCode): NEW, needed in...
* (LinkFlow): fixed handling of jumptables, calls and conditional
  branches
* (pic16_InsertCommentAfter): NEW
* (pic16_pCodeReplace): made verbose and flow preserving
* (AnalyzeFlow): added call to data flow analysis
* src/pic16/pcode.h: added defmaps to pCodeFlow struct
* src/pic16/pcodeflow.h: added PCC_STATUS to mean all STATUS bits
* src/pic16/ralloc.c (packRegsForAssign): added return 1 in the end

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3717 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/pic16/device.h
src/pic16/gen.c
src/pic16/main.c
src/pic16/pcode.c
src/pic16/pcode.h
src/pic16/pcodeflow.h
src/pic16/ralloc.c