~siretart/libav/merge.raring.libav-0.8.6

« back to all changes in this revision

Viewing changes to libavcodec/arm/ac3dsp_neon.S

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:30:00 UTC
  • mfrom: (1.4.1)
  • mto: (1.3.11 sid) (26.1.1 quantal-security)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20120112223000-s1reiy1e28hnix42
Tags: upstream-0.8~beta2
ImportĀ upstreamĀ versionĀ 0.8~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
function ff_ac3_exponent_min_neon, export=1
43
43
        cmp             r1,  #0
 
44
        it              eq
44
45
        bxeq            lr
45
46
        push            {lr}
46
47
        mov             r12, #256
94
95
endfunc
95
96
 
96
97
function ff_ac3_extract_exponents_neon, export=1
97
 
        vmov.i32        q14, #24
98
98
        vmov.i32        q15, #8
99
99
1:
100
 
        vld1.32         {q0},     [r1,:128]
 
100
        vld1.32         {q0},     [r1,:128]!
101
101
        vabs.s32        q1,  q0
102
102
        vclz.i32        q3,  q1
103
103
        vsub.i32        q3,  q3,  q15
104
 
        vcge.s32        q2,  q3,  q14
105
 
        vbit            q3,  q14, q2
106
 
        vbic            q0,  q0,  q2
107
104
        vmovn.i32       d6,  q3
108
105
        vmovn.i16       d6,  q3
109
 
        vst1.32         {q0},     [r1,:128]!
110
106
        vst1.32         {d6[0]},  [r0,:32]!
111
107
        subs            r2,  r2,  #4
112
108
        bgt             1b