Dear list,

I am using the pic14 port, currently with 16F627 and F648.
I am updating the compiler once a week to the latest snapshot...

I would like to ask the following:

- How can I optimise those silly banksel instructions before each
  variable access?

  I define only a few variables - in one bank (later I will use all
  banks) - but, I have that silly banksel instruction before all the
  variable access.
- Can I control the generation of the banksel instructions?
- Are there a way to tell the compiler to optimise the generation
  of the banksels?


- Are there any way to use the inline function feature?
  I know it is not supported and I can define an empty inline to
  overcome, but how to achieve the same functionality?
  As I reading the docs the naked function seems to be the
  solution...

- The peephole optimiser does not work for each rule!
  Eg. it will not do the "peep 3 - decf/mov/skpz to decfsz\n" for
  me.
  It is because the the compiler generate the
  "     btfss   STATUS,2\n"
  instead of:
  "     btfss   STATUS,z\n"

  Is it my fault or can I do something to overcome?


I wish Happy New Year to all the developers and the users of sdcc.

Alex

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to