Revision 1e98dffb libavcodec/msmpeg4.c

View differences:

libavcodec/msmpeg4.c
460 460
	: "r" (scale)
461 461
	: "%eax", "%edx"
462 462
    );
463
#else    
463
#elif defined (ARCH_ALPHA)
464
    /* Divisions are extremely costly on Alpha; optimize the most
465
       common case.  */
466
    if (scale == 8) {
467
	a = (a + (8 >> 1)) / 8;
468
	b = (b + (8 >> 1)) / 8;
469
	c = (c + (8 >> 1)) / 8;
470
    } else {
471
	a = (a + (scale >> 1)) / scale;
472
	b = (b + (scale >> 1)) / scale;
473
	c = (c + (scale >> 1)) / scale;
474
    }
475
#else
464 476
    a = (a + (scale >> 1)) / scale;
465 477
    b = (b + (scale >> 1)) / scale;
466 478
    c = (c + (scale >> 1)) / scale;

Also available in: Unified diff