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/wmapro_math.h | |
| parent | c5025c7c78b416f42f086138161d3126ad9482b9 (diff) | |
| download | rockbox-cc7fac27b55c4358b2c5d15ab9ee910a6efef314.zip rockbox-cc7fac27b55c4358b2c5d15ab9ee910a6efef314.tar.gz rockbox-cc7fac27b55c4358b2c5d15ab9ee910a6efef314.tar.bz2 rockbox-cc7fac27b55c4358b2c5d15ab9ee910a6efef314.tar.xz | |
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/wmapro_math.h')
| -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 261a7bd..a34a5a8 100644 --- a/apps/codecs/libwmapro/wmapro_math.h +++ b/apps/codecs/libwmapro/wmapro_math.h @@ -182,8 +182,8 @@ : "cc", "memory"); #else #define VECT_MUL_WIN_KERNEL(i, j, s0, s1, wi, wj) \ - dst[i] = fixmul31(s0, wj) - fixmul31(s1, wi); \ - dst[j] = fixmul31(s0, wi) + fixmul31(s1, wj); + dst[i] = fixmul31(wj, s0) - fixmul31(wi, s1); \ + dst[j] = fixmul31(wi, s0) + fixmul31(wj, s1); #endif /* CPU_COLDFIRE */ static inline void vector_fixmul_window(int32_t *dst, const int32_t *src0, |