diff options
author | Falk Hüffner <mellum@users.sourceforge.net> | 2002-06-24 22:22:39 +0000 |
---|---|---|
committer | Falk Hüffner <mellum@users.sourceforge.net> | 2002-06-24 22:22:39 +0000 |
commit | db42e13bfbfdb2a9b909078870ef03e4cf7357b5 (patch) | |
tree | 2de9895ec44c74eca3a1b2455f5950fef6cc6b02 /libavcodec/alpha/dsputil_alpha.c | |
parent | b210c96c0c0048bb4923a5cf45633507f34b532b (diff) | |
download | ffmpeg-db42e13bfbfdb2a9b909078870ef03e4cf7357b5.tar.gz |
Ugly hack to make the assembler accept MVI instructions.
Originally committed as revision 705 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alpha/dsputil_alpha.c')
-rw-r--r-- | libavcodec/alpha/dsputil_alpha.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/alpha/dsputil_alpha.c b/libavcodec/alpha/dsputil_alpha.c index 3a54904f48..06d2fdad51 100644 --- a/libavcodec/alpha/dsputil_alpha.c +++ b/libavcodec/alpha/dsputil_alpha.c @@ -26,6 +26,9 @@ static void put_pixels_clamped_axp(const DCTELEM *block, UINT8 *pixels, int line_size) { int i = 8; + + ASM_ACCEPT_MVI; + do { UINT64 shorts; @@ -48,6 +51,9 @@ static void add_pixels_clamped_axp(const DCTELEM *block, UINT8 *pixels, int line_size) { int i = 8; + + ASM_ACCEPT_MVI; + do { UINT64 shorts; @@ -216,7 +222,6 @@ void dsputil_init_alpha(void) /* amask clears all bits that correspond to present features. */ if (amask(AMASK_MVI) == 0) { - fprintf(stderr, "MVI extension detected\n"); put_pixels_clamped = put_pixels_clamped_axp; add_pixels_clamped = add_pixels_clamped_axp; } |