aboutsummaryrefslogtreecommitdiffstats
path: root/libpostproc/postprocess_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-16 18:19:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-16 18:21:39 +0200
commit78d2d1e0270cfbd38022f63f477381ed4294d22c (patch)
treedc0fdae079a259e3a25c1496b65da5f6d63034ea /libpostproc/postprocess_template.c
parent3b8617429014301b26b587a5e537910746d3377a (diff)
downloadffmpeg-78d2d1e0270cfbd38022f63f477381ed4294d22c.tar.gz
postprocess_template: put rsp on the clobber list to prevent gcc from using it in "q"
Fixes Ticket2675 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libpostproc/postprocess_template.c')
-rw-r--r--libpostproc/postprocess_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c
index 22b1231f0b..74b0ab4c46 100644
--- a/libpostproc/postprocess_template.c
+++ b/libpostproc/postprocess_template.c
@@ -1313,7 +1313,7 @@ DERING_CORE((%0, %1, 8) ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1,
"1: \n\t"
: : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp)
- : "%"REG_a, "%"REG_d
+ : "%"REG_a, "%"REG_d, "%"REG_SP
);
#else // HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW)
int y;