This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8987 - use 128KB IRAM for PP5022/PP5024
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Monday, 12 May 2008, 13:10 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 14 May 2008, 22:30 GMT+2
Opened by Andree Buschmann (Buschel) - Monday, 12 May 2008, 13:10 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 14 May 2008, 22:30 GMT+2
|
DetailsThis patch enabled the additional 32KB IRAM for PP5022 and PP5024 processors. This is kind of a first approach and uses 64KB for core and 64KB for plugin/codec.
An additional patch for the musepack decoder takes advantage of this additional IRAM and is sped up by ~6.6%. EDIT_1: Exchanged the iram-patch (removed the mpc-related changes). EDIT_2: Exchanged the mpc-patch (removed iram-unrelated changed). |
This task depends upon
Closed by Andree Buschmann (Buschel)
Wednesday, 14 May 2008, 22:30 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed with r17506 and 17507.
Wednesday, 14 May 2008, 22:30 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed with r17506 and 17507.
I've attached the modified patch, which also corrects the checks for PP5022 and PP5024. Those macros don't work like the CPU_* group macros. They are always defined, which would cause v1 to break on any other CPU than PP5022/PP5024. You're supposed to check CONFIG_CPU.
Regarding IRAM distribution - I'd prefer to keep even distribution between core and codecs/plugins, like it's already done in SVN for MCF5250. While IRAM might be quite useful for codecs, it might also be quite useful in the core (e.g. for better DSP code), and there are often also some target specific tasks in the core which profit from extra IRAM.
I won't argue too much for Coldfire though, since I don't have any of those targets.