Revision ea66f252

View differences:

libavutil/bswap.h
40 40
    asm("rorw $8, %0" : "+r"(x));
41 41
#elif defined(ARCH_SH4)
42 42
    asm("swap.b %0,%0" : "=r"(x) : "0"(x));
43
#elif defined(HAVE_ARMV6)
44
    asm("rev16 %0, %0" : "+r"(x));
43 45
#else
44 46
    x= (x>>8) | (x<<8);
45 47
#endif
......
62 64
        "swap.w %0,%0\n"
63 65
        "swap.b %0,%0\n"
64 66
        : "=r"(x) : "0"(x));
67
#elif defined(HAVE_ARMV6)
68
    asm("rev %0, %0" : "+r"(x));
65 69
#elif defined(ARCH_ARM)
66 70
    uint32_t t;
67 71
    asm ("eor %1, %0, %0, ror #16 \n\t"

Also available in: Unified diff