FS#10801 - Enable strict aliasing compiler optimizations for codecs

Attached to Project: Rockbox
Opened by Nils Wallménius (nls) - Sunday, 22 November 2009, 09:40 GMT
Last edited by Nils Wallménius (nls) - Sunday, 29 November 2009, 18:14 GMT
Task Type Patches
Category Codecs
Status Closed
Assigned To No-one
Operating System SW-codec
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Strict aliasing optimizations are disabled in svn because they were deemed to give too many warnings with gcc4.0, now that we are switching to 4.4 for arm some testing showed a few speedups on the beast with these optimizations enabled again so this patch fixes aliasing warnings in the codecs and turns on these optimizations for the codecs again.

the changes to mod are very simple, mp3_enc was also pretty simple but the spc changes were a little more invasive, so i'd like some more eyes on those before a commit.
This task depends upon

Closed by  Nils Wallménius (nls)
Sunday, 29 November 2009, 18:14 GMT
Reason for closing:  Accepted
Additional comments about closing:  committed