FS#10411 - Fixed point math code is bloated

Attached to Project: Rockbox
Opened by Jeffrey Goode (Blue_Dude) - Monday, 06 July 2009, 05:50 GMT
Last edited by Maurus Cuelenaere (mcuelenaere) - Tuesday, 07 July 2009, 13:36 GMT
Task Type Patches
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I originally rewrote some math code to use 64 bit internal variables, but after further investigation this proved unnecessary. This version restores 32 bit internal processing without risking overflow errors, and I cleaned up some unnecessary error checking. The bounds checking in replaygain is more than sufficient to prevent overflow errors in order to use these routines (it's actually quite conservative). This should result in slimmer builds.
This task depends upon

Closed by  Maurus Cuelenaere (mcuelenaere)
Tuesday, 07 July 2009, 13:36 GMT
Reason for closing:  Accepted
Additional comments about closing:  In r21701.