#26 pic16 peephole optimization fix

closed-accepted
None
5
2004-10-01
2004-09-30
No

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.

Daniel Winkler

Discussion

  • Raphael Neider

    Raphael Neider - 2004-09-30

    peephole opt. patch

     
  • Vangelis Rokas

    Vangelis Rokas - 2004-10-01
    • assigned_to: nobody --> vrokas
    • status: open --> closed-accepted
     
  • Vangelis Rokas

    Vangelis Rokas - 2004-10-01

    Logged In: YES
    user_id=770505

    Patch applied successfully.
    SDCC version 2.4.5 #851

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks