# HG changeset patch # User mellum # Date 1024957359 0 # Node ID 7a976bf93394207711ec2ca6189cbd6938f23725 # Parent 4aa1ff2acc7402d24fb73597b48fea08669d4106 Ugly hack to make the assembler accept MVI instructions. diff -r 4aa1ff2acc74 -r 7a976bf93394 alpha/dsputil_alpha.c --- a/alpha/dsputil_alpha.c Mon Jun 24 22:21:30 2002 +0000 +++ b/alpha/dsputil_alpha.c Mon Jun 24 22:22:39 2002 +0000 @@ -26,6 +26,9 @@ int line_size) { int i = 8; + + ASM_ACCEPT_MVI; + do { UINT64 shorts; @@ -48,6 +51,9 @@ int line_size) { int i = 8; + + ASM_ACCEPT_MVI; + do { UINT64 shorts; @@ -216,7 +222,6 @@ /* 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; } diff -r 4aa1ff2acc74 -r 7a976bf93394 alpha/mpegvideo_alpha.c --- a/alpha/mpegvideo_alpha.c Mon Jun 24 22:21:30 2002 +0000 +++ b/alpha/mpegvideo_alpha.c Mon Jun 24 22:22:39 2002 +0000 @@ -28,6 +28,9 @@ { int i, level; UINT64 qmul, qadd; + + ASM_ACCEPT_MVI; + if (s->mb_intra) { if (n < 4) block[0] = block[0] * s->y_dc_scale;