diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-08-05 21:43:49 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-08-05 21:43:49 +0000 |
commit | cc7fac27b55c4358b2c5d15ab9ee910a6efef314 (patch) | |
tree | 0d555a9d5541b897b9950bce50b0e8152aa737f2 /apps/codecs/libwmapro | |
parent | c5025c7c78b416f42f086138161d3126ad9482b9 (diff) | |
download | rockbox-cc7fac27b55c4358b2c5d15ab9ee910a6efef314.tar.gz rockbox-cc7fac27b55c4358b2c5d15ab9ee910a6efef314.zip |
Minor of libwmapro on ARM. Swap operands for fixmul31, is 1% faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27727 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro')
-rw-r--r-- | apps/codecs/libwmapro/wmapro_math.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libwmapro/wmapro_math.h b/apps/codecs/libwmapro/wmapro_math.h index 261a7bd89d..a34a5a8d5a 100644 --- a/apps/codecs/libwmapro/wmapro_math.h +++ b/apps/codecs/libwmapro/wmapro_math.h | |||
@@ -182,8 +182,8 @@ | |||
182 | : "cc", "memory"); | 182 | : "cc", "memory"); |
183 | #else | 183 | #else |
184 | #define VECT_MUL_WIN_KERNEL(i, j, s0, s1, wi, wj) \ | 184 | #define VECT_MUL_WIN_KERNEL(i, j, s0, s1, wi, wj) \ |
185 | dst[i] = fixmul31(s0, wj) - fixmul31(s1, wi); \ | 185 | dst[i] = fixmul31(wj, s0) - fixmul31(wi, s1); \ |
186 | dst[j] = fixmul31(s0, wi) + fixmul31(s1, wj); | 186 | dst[j] = fixmul31(wi, s0) + fixmul31(wj, s1); |
187 | #endif /* CPU_COLDFIRE */ | 187 | #endif /* CPU_COLDFIRE */ |
188 | 188 | ||
189 | static inline void vector_fixmul_window(int32_t *dst, const int32_t *src0, | 189 | static inline void vector_fixmul_window(int32_t *dst, const int32_t *src0, |