* configure.in, configure: have device/lib/pic configured
authortecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 23 Sep 2005 21:59:29 +0000 (21:59 +0000)
committertecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 23 Sep 2005 21:59:29 +0000 (21:59 +0000)
commitf8dc9d8f924a08b854d4784fdb4b841b7b006081
treebb46c7d9c31b701ba501c4ee8e9095e64c3f4ed4
parent770ad4b1a93892619759d3779a8fcb973ca26bb9
* configure.in, configure: have device/lib/pic configured
* device/lib/Makefile.in: added model-pic14
* device/lib/clean.mk: added pic/ to clean rule
* device/lib/pic: added rudimentary pic14 library providing support
  functions for multiplication/division/generic pointer access
* src/SDCCopt.c (convilong): mark support functions as extern
  for pic14 port as well
* src/pic/gen.c (genMult): added assertions,
  (genpic14Code): emit warning on unhandled iCodes
* src/pic/main.c (_hasNativeMulFor): return true only for 8x8 bit
* src/pic/pcode.c (pCodeOpCopy),
* src/pic16/pcodepeep.c (pic16_pCodeOpCopy): fixed handling of various
  pCodeOpReg-subtypes (PO_{STATUS,INTCON,PCL,PCLATH,PCLATU,BSR,
  SFR_REGISTER}), made safe for future extensions
* src/pic16/pcode.c (pic16_safepCodeUnlink): allow for removal of
  instructions even if preceeded by SKIP instructions (also remove
  them); removed unused code
* src/pic16/pcode.h: added arg2 to pCodeOpLit to match pCodeOpLit2,
  prevents leaving parts of the structure uninitialized after copying

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3897 4a8a32a2-be11-0410-ad9d-d568d2c75423
32 files changed:
ChangeLog
configure
configure.in
device/lib/Makefile.in
device/lib/clean.mk
device/lib/pic/GPL [new file with mode: 0644]
device/lib/pic/LGPL [new file with mode: 0644]
device/lib/pic/Makefile [new file with mode: 0644]
device/lib/pic/Makefile.common.in [new file with mode: 0644]
device/lib/pic/Makefile.rules [new file with mode: 0644]
device/lib/pic/Makefile.subdir [new file with mode: 0644]
device/lib/pic/TEMPLATE.c [new file with mode: 0644]
device/lib/pic/configure [new file with mode: 0755]
device/lib/pic/configure.in [new file with mode: 0644]
device/lib/pic/libsdcc/Makefile [new file with mode: 0644]
device/lib/pic/libsdcc/_divsint.c [new file with mode: 0644]
device/lib/pic/libsdcc/_divslong.c [new file with mode: 0644]
device/lib/pic/libsdcc/_divuint.c [new file with mode: 0644]
device/lib/pic/libsdcc/_divulong.c [new file with mode: 0644]
device/lib/pic/libsdcc/_modsint.c [new file with mode: 0644]
device/lib/pic/libsdcc/_modslong.c [new file with mode: 0644]
device/lib/pic/libsdcc/_moduint.c [new file with mode: 0644]
device/lib/pic/libsdcc/_modulong.c [new file with mode: 0644]
device/lib/pic/libsdcc/_mulint.c [new file with mode: 0644]
device/lib/pic/libsdcc/_mullong.c [new file with mode: 0644]
src/SDCCopt.c
src/pic/gen.c
src/pic/main.c
src/pic/pcode.c
src/pic16/pcode.c
src/pic16/pcode.h
src/pic16/pcodepeep.c