summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2009-02-10 16:45:02 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2009-02-10 16:45:02 +0000
commite090c70f2f7e9c64696964517c2503e3ce7d274d (patch)
tree2fd775cdd27f0124388542bcfe88aff079d37e8b /libavcodec/x86
parentae2d3e3b25a39328e878f67a63be006e4c8d5251 (diff)
avoid duplicating dsputil's clear_block
Originally committed as revision 17135 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/cavsdsp_mmx.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libavcodec/x86/cavsdsp_mmx.c b/libavcodec/x86/cavsdsp_mmx.c
index 2000ba524a..012e6c6ba0 100644
--- a/libavcodec/x86/cavsdsp_mmx.c
+++ b/libavcodec/x86/cavsdsp_mmx.c
@@ -173,28 +173,6 @@ static void cavs_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride)
}
add_pixels_clamped_mmx(b2, dst, stride);
-
- /* clear block */
- __asm__ volatile(
- "pxor %%mm7, %%mm7 \n\t"
- "movq %%mm7, (%0) \n\t"
- "movq %%mm7, 8(%0) \n\t"
- "movq %%mm7, 16(%0) \n\t"
- "movq %%mm7, 24(%0) \n\t"
- "movq %%mm7, 32(%0) \n\t"
- "movq %%mm7, 40(%0) \n\t"
- "movq %%mm7, 48(%0) \n\t"
- "movq %%mm7, 56(%0) \n\t"
- "movq %%mm7, 64(%0) \n\t"
- "movq %%mm7, 72(%0) \n\t"
- "movq %%mm7, 80(%0) \n\t"
- "movq %%mm7, 88(%0) \n\t"
- "movq %%mm7, 96(%0) \n\t"
- "movq %%mm7, 104(%0) \n\t"
- "movq %%mm7, 112(%0) \n\t"
- "movq %%mm7, 120(%0) \n\t"
- :: "r" (block)
- );
}
/*****************************************************************************