mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-24 07:27:39 -04:00
swr/swl instructions used for word aligning were wrong. This made memset() terribly broken. I can't imagine how it went uncaught for soooo long. Spotted by Solomon Peachy. I run unit tests for alignments 0,1,2,3 size 1, 2, 3, 4, 5, 63, 64, 65, 127, 128, 129; and fill pattern 0x00 and other (since 0 is special case in this implementation). Change-Id: I513a10734335fe97734c10ab5a6c3e3fb3f4687a |
||
|---|---|---|
| .. | ||
| atomic_rw.S | ||
| memcpy.S | ||
| memset.S | ||
| system.S | ||