diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2010-01-28 02:40:33 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2010-01-28 02:40:33 +0000 |
commit | a6bd83a31519370b9fe1229f9b2a7220dc8e6d7b (patch) | |
tree | 425575c0e9f97b4f167e86bc0a784446f33ab77f | |
parent | e76f30a57c25a3ae762fc48218e57bc46dff4410 (diff) | |
download | rockbox-a6bd83a31519370b9fe1229f9b2a7220dc8e6d7b.tar.gz rockbox-a6bd83a31519370b9fe1229f9b2a7220dc8e6d7b.zip |
Fix red: smlal operand ordering in udiv32_arm.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24355 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/codecs/lib/udiv32_arm.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/lib/udiv32_arm.S b/apps/codecs/lib/udiv32_arm.S index c46a09be5c..d080205f08 100644 --- a/apps/codecs/lib/udiv32_arm.S +++ b/apps/codecs/lib/udiv32_arm.S | |||
@@ -229,7 +229,7 @@ udiv32_arm: | |||
229 | smmul \inv, \numerator, \divisor | 229 | smmul \inv, \numerator, \divisor |
230 | #else | 230 | #else |
231 | mov \bits, #0 | 231 | mov \bits, #0 |
232 | smlal \bits, \divisor, \divisor, \inv | 232 | smlal \bits, \divisor, \inv, \divisor |
233 | umull \bits, \inv, \numerator, \divisor | 233 | umull \bits, \inv, \numerator, \divisor |
234 | #endif | 234 | #endif |
235 | add \numerator, \numerator, \neg | 235 | add \numerator, \numerator, \neg |
@@ -250,7 +250,7 @@ udiv32_arm: | |||
250 | smmul \inv, \numerator, \divisor | 250 | smmul \inv, \numerator, \divisor |
251 | #else | 251 | #else |
252 | mov \bits, #0 | 252 | mov \bits, #0 |
253 | smlal \bits, \divisor, \divisor, \inv | 253 | smlal \bits, \divisor, \inv, \divisor |
254 | umull \bits, \inv, \numerator, \divisor | 254 | umull \bits, \inv, \numerator, \divisor |
255 | #endif | 255 | #endif |
256 | mla \divisor, \inv, \neg, \numerator | 256 | mla \divisor, \inv, \neg, \numerator |