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.
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]
The bug itself should be fixed in [r16248], but the test can only be enabled after [bugs:#3938] is fixed, too.
Related
Bugs:
#3938Commit: [r16248]