diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-08-24 16:52:27 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-08-24 16:52:27 +0000 |
commit | 3611c45ab757d03cf3878af62ca1c19ae8386037 (patch) | |
tree | 64491fec68ac439bb966f2985cc980699fc67b1d /libavcodec | |
parent | a7638957e069537919db7bf8700a8719dd6dcd89 (diff) | |
download | ffmpeg-3611c45ab757d03cf3878af62ca1c19ae8386037.tar.gz |
Mark xmm registers as clobbered in simple loopfilter. Should fix the last
two VP8-related fate failures on Win64.
Originally committed as revision 24908 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/vp8dsp.asm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/x86/vp8dsp.asm b/libavcodec/x86/vp8dsp.asm index ae7e6ca1dd..8cdbb3c7ab 100644 --- a/libavcodec/x86/vp8dsp.asm +++ b/libavcodec/x86/vp8dsp.asm @@ -1470,8 +1470,8 @@ VP8_DC_WHT sse pshufb %1, %3 %endmacro -%macro SIMPLE_LOOPFILTER 3 -cglobal vp8_%2_loop_filter_simple_%1, 3, %3 +%macro SIMPLE_LOOPFILTER 4 +cglobal vp8_%2_loop_filter_simple_%1, 3, %3, %4 %if mmsize == 8 ; mmx/mmxext mov r3, 2 %endif @@ -1612,21 +1612,21 @@ cglobal vp8_%2_loop_filter_simple_%1, 3, %3 INIT_MMX %define SPLATB_REG SPLATB_REG_MMX -SIMPLE_LOOPFILTER mmx, v, 4 -SIMPLE_LOOPFILTER mmx, h, 5 +SIMPLE_LOOPFILTER mmx, v, 4, 0 +SIMPLE_LOOPFILTER mmx, h, 5, 0 %define SPLATB_REG SPLATB_REG_MMXEXT -SIMPLE_LOOPFILTER mmxext, v, 4 -SIMPLE_LOOPFILTER mmxext, h, 5 +SIMPLE_LOOPFILTER mmxext, v, 4, 0 +SIMPLE_LOOPFILTER mmxext, h, 5, 0 INIT_XMM %define SPLATB_REG SPLATB_REG_SSE2 %define WRITE_8W WRITE_8W_SSE2 -SIMPLE_LOOPFILTER sse2, v, 3 -SIMPLE_LOOPFILTER sse2, h, 5 +SIMPLE_LOOPFILTER sse2, v, 3, 8 +SIMPLE_LOOPFILTER sse2, h, 5, 8 %define SPLATB_REG SPLATB_REG_SSSE3 -SIMPLE_LOOPFILTER ssse3, v, 3 -SIMPLE_LOOPFILTER ssse3, h, 5 +SIMPLE_LOOPFILTER ssse3, v, 3, 8 +SIMPLE_LOOPFILTER ssse3, h, 5, 8 %define WRITE_8W WRITE_8W_SSE4 -SIMPLE_LOOPFILTER sse4, h, 5 +SIMPLE_LOOPFILTER sse4, h, 5, 8 ;----------------------------------------------------------------------------- ; void vp8_h/v_loop_filter<size>_inner_<opt>(uint8_t *dst, [uint8_t *v,] int stride, |