diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-07-26 18:07:57 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-07-26 18:07:57 +0400 |
commit | 48adb7e7a4f524537c9f2d219a2d926ed391131e (patch) | |
tree | fee54f992cf66ea57a1a56a01110832ff41e26d7 /libavcodec | |
parent | 2a180c69eacdc6854957aabae3b0e3ee4d4fd774 (diff) |
Enable no-loop memory/register saving for ssse3/sse4 also.
Originally committed as revision 24511 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/vp8dsp.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/vp8dsp.asm b/libavcodec/x86/vp8dsp.asm index b3070825f1..1214438395 100644 --- a/libavcodec/x86/vp8dsp.asm +++ b/libavcodec/x86/vp8dsp.asm @@ -2200,7 +2200,7 @@ cglobal vp8_%2_loop_filter16y_mbedge_%1, 5, %3, %5 ; 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, 5, %3, %5 %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] |