Commit 1ca3b62b authored by Mans Rullgard's avatar Mans Rullgard

ARM: bswap: drop armcc version of av_bswap16()

This function causes several versions of armcc to miscompile code,
and the performance impact is small.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 5e826fd6
......@@ -26,13 +26,6 @@
#ifdef __ARMCC_VERSION
#if HAVE_ARMV6
#define av_bswap16 av_bswap16
static av_always_inline av_const unsigned av_bswap16(unsigned x)
{
__asm { rev16 x, x }
return x;
}
#define av_bswap32 av_bswap32
static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
{
......
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