Browse Source

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: Mans Rullgard <mans@mansr.com>
tags/n1.1
Mans Rullgard 12 years ago
parent
commit
1ca3b62b10
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      libavutil/arm/bswap.h

+ 0
- 7
libavutil/arm/bswap.h View File

@@ -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)
{


Loading…
Cancel
Save