summaryrefslogtreecommitdiff
path: root/libavcodec/arm/ac3dsp_neon.S
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-02 18:24:13 +0100
committerMans Rullgard <mans@mansr.com>2011-07-02 18:24:41 +0100
commit5dd045ebc11933dca4d6af06e6b1e62be56802f7 (patch)
treed6c4d50716747b1bd831b5786d9c78ede2624fdb /libavcodec/arm/ac3dsp_neon.S
parent8aa63f0b31544a63e107c67c519d6ccd11c94810 (diff)
ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/ac3dsp_neon.S')
-rw-r--r--libavcodec/arm/ac3dsp_neon.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/arm/ac3dsp_neon.S b/libavcodec/arm/ac3dsp_neon.S
index fdf1deabc9..e97197c27a 100644
--- a/libavcodec/arm/ac3dsp_neon.S
+++ b/libavcodec/arm/ac3dsp_neon.S
@@ -95,19 +95,14 @@ function ff_float_to_fixed24_neon, export=1
endfunc
function ff_ac3_extract_exponents_neon, export=1
- vmov.i32 q14, #24
vmov.i32 q15, #8
1:
- vld1.32 {q0}, [r1,:128]
+ vld1.32 {q0}, [r1,:128]!
vabs.s32 q1, q0
vclz.i32 q3, q1
vsub.i32 q3, q3, q15
- vcge.s32 q2, q3, q14
- vbit q3, q14, q2
- vbic q0, q0, q2
vmovn.i32 d6, q3
vmovn.i16 d6, q3
- vst1.32 {q0}, [r1,:128]!
vst1.32 {d6[0]}, [r0,:32]!
subs r2, r2, #4
bgt 1b