diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-19 22:26:58 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-22 11:55:42 -0800 |
commit | 55aa03b9f8f11ebb7535424cc0e5635558590f49 (patch) | |
tree | e13b12d715aa32cb1d81ed066735af40ea6dbb8a /libavcodec/x86/dsputil.asm | |
parent | 0881cbf314982cce8448bd12644ce2a6e0b8c576 (diff) | |
download | ffmpeg-55aa03b9f8f11ebb7535424cc0e5635558590f49.tar.gz |
floatdsp: move vector_fmul_add from dsputil to avfloatdsp.
Diffstat (limited to 'libavcodec/x86/dsputil.asm')
-rw-r--r-- | libavcodec/x86/dsputil.asm | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/libavcodec/x86/dsputil.asm b/libavcodec/x86/dsputil.asm index 257e579c8e..26b9dee5db 100644 --- a/libavcodec/x86/dsputil.asm +++ b/libavcodec/x86/dsputil.asm @@ -604,34 +604,6 @@ VECTOR_FMUL_REVERSE INIT_YMM avx VECTOR_FMUL_REVERSE -;----------------------------------------------------------------------------- -; vector_fmul_add(float *dst, const float *src0, const float *src1, -; const float *src2, int len) -;----------------------------------------------------------------------------- -%macro VECTOR_FMUL_ADD 0 -cglobal vector_fmul_add, 5,5,2, dst, src0, src1, src2, len - lea lenq, [lend*4 - 2*mmsize] -ALIGN 16 -.loop: - mova m0, [src0q + lenq] - mova m1, [src0q + lenq + mmsize] - mulps m0, m0, [src1q + lenq] - mulps m1, m1, [src1q + lenq + mmsize] - addps m0, m0, [src2q + lenq] - addps m1, m1, [src2q + lenq + mmsize] - mova [dstq + lenq], m0 - mova [dstq + lenq + mmsize], m1 - - sub lenq, 2*mmsize - jge .loop - REP_RET -%endmacro - -INIT_XMM sse -VECTOR_FMUL_ADD -INIT_YMM avx -VECTOR_FMUL_ADD - ; %1 = aligned/unaligned %macro BSWAP_LOOPS 1 mov r3, r2 |