[FFmpeg-cvslog] r24511 - trunk/libavcodec/x86/vp8dsp.asm
rbultje
subversion
Mon Jul 26 16:07:57 CEST 2010
Author: rbultje
Date: Mon Jul 26 16:07:57 2010
New Revision: 24511
Log:
Enable no-loop memory/register saving for ssse3/sse4 also.
Modified:
trunk/libavcodec/x86/vp8dsp.asm
Modified: trunk/libavcodec/x86/vp8dsp.asm
==============================================================================
--- trunk/libavcodec/x86/vp8dsp.asm Mon Jul 26 16:00:15 2010 (r24510)
+++ trunk/libavcodec/x86/vp8dsp.asm Mon Jul 26 16:07:57 2010 (r24511)
@@ -2200,7 +2200,7 @@ cglobal vp8_%2_loop_filter16y_mbedge_%1,
; align stack
mov stack_reg, rsp ; backup stack pointer
and rsp, ~(mmsize-1) ; align stack
-%ifidn %2, sse2
+%if mmsize == 16
sub rsp, mmsize * 7
%else
sub rsp, mmsize * 8 ; stack layout: [0]=E, [1]=I, [2]=hev_thr
@@ -2219,7 +2219,7 @@ cglobal vp8_%2_loop_filter16y_mbedge_%1,
%define q0backup [rsp+mmsize*4]
%define p2backup [rsp+mmsize*5]
%define q2backup [rsp+mmsize*6]
-%ifidn %2, sse2
+%if mmsize == 16
%define lim_sign [rsp]
%else
%define lim_sign [rsp+mmsize*7]
More information about the ffmpeg-cvslog
mailing list