The attached patch (to apply with -p0 in src/pic16)
adds a new peephole rule (removes movff %1,%1) and
fixes the problem that stack operations working on
indirection registers like POSTDEC0 are sweapt away.
Operations on SFRs are also ignored; this is rather
conservative because some SFR operations have side effects.
Log in to post a comment.