Menu

#3937 sm83 parameter value passing issues

pending-fixed
sm83 (5)
GBZ80
5
5 days ago
6 days ago
No

On sm83, some tricks can be used to efficiently pass certain parameter values, which is exploited by some sm83-specirfic peephole rules, and possibly in the future also in code generation. However, there are bug in the peephole optimizer rules; I'm about to introduce a regression test triggering them.

Discussion

  • Philipp Klaus Krause

    The test is in [r16247]., disabled for sm83 for now. The bug was first discovered by an SDCC user that notified me by email.

     

    Related

    Commit: [r16247]

  • Philipp Klaus Krause

    • status: open --> pending-fixed
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    The bug itself should be fixed in [r16248], but the test can only be enabled after [bugs:#3938] is fixed, too.

     

    Related

    Bugs: #3938
    Commit: [r16248]


Log in to post a comment.

MongoDB Logo MongoDB