Permalink
Browse files

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>
  • Loading branch information...
1 parent 3b86174 commit 78d2d1e0270cfbd38022f63f477381ed4294d22c @michaelni michaelni committed Jun 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 78d2d1e

Please sign in to comment.