Commit c696a863 authored by Måns Rullgård's avatar Måns Rullgård

ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()

Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ea66f252
...@@ -66,7 +66,7 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x) ...@@ -66,7 +66,7 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x)
: "=r"(x) : "0"(x)); : "=r"(x) : "0"(x));
#elif defined(HAVE_ARMV6) #elif defined(HAVE_ARMV6)
asm("rev %0, %0" : "+r"(x)); asm("rev %0, %0" : "+r"(x));
#elif defined(ARCH_ARM) #elif defined(ARCH_ARMV4L)
uint32_t t; uint32_t t;
asm ("eor %1, %0, %0, ror #16 \n\t" asm ("eor %1, %0, %0, ror #16 \n\t"
"bic %1, %1, #0xFF0000 \n\t" "bic %1, %1, #0xFF0000 \n\t"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment