Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#6734 - Compile Rockbox using ARM THUMB code

Attached to Project: Rockbox
Opened by Daniel Ankers (dan_a) - Monday, 05 March 2007, 02:33 GMT+1
Task Type Patches
Category Operating System/Drivers
Status New
Assigned To No-one
Player type Another
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

This makes certain parts of Rockbox compile using the more space-efficient thumb code instruction set on the ARM architecture.
Whether the overall effect of this will be positive or negative is difficult to estimate, so it is worth trying it to see what works - there may be benefits to the battery life or to the boost rate. In general, non-performance critical code which does not contain large loops or ARM assembly will be better off as thumb code.

Enabling the interworking between normal ARM and THUMB increases the size of the Rockbox binary, but moving code to THUMB decreases it. Some code will not work as THUMB for reasons which are not known at the moment.

If you get a warning about libgcc not being compiled with interworking support, then you need to re-run the rockboxdev.sh script.
This task depends upon

Comment by Chris (decayed.cell) - Monday, 05 March 2007, 09:52 GMT+1
Synced to R12617. Does Binutils require to be rebuilt with interworking support?
Comment by Daniel Ankers (dan_a) - Monday, 05 March 2007, 10:04 GMT+1
As long as you have versions of libgcc with interworking enabled, that is all that is required.
Comment by Dave Hooper (stripwax) - Wednesday, 23 April 2008, 00:20 GMT+1
Doesn't get past the apple logo on boot with ipod 5g 64mb build, for me, so guessing that the set of code which does/doesn't work is unknown at this point?

Loading...