changeset 12276:1c299b8f2930 libavcodec

Enable no-loop memory/register saving for ssse3/sse4 also.
author rbultje
date Mon, 26 Jul 2010 14:07:57 +0000
parents 709d5848abf8
children 17adb33ac603
files x86/vp8dsp.asm
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/x86/vp8dsp.asm	Mon Jul 26 14:00:15 2010 +0000
+++ b/x86/vp8dsp.asm	Mon Jul 26 14:07:57 2010 +0000
@@ -2200,7 +2200,7 @@
     ; 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 @@
 %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]