summaryrefslogtreecommitdiff
path: root/libavutil/arm
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-02 16:34:34 +0100
committerMans Rullgard <mans@mansr.com>2012-10-02 19:47:56 +0100
commit1ca3b62b10e6c174b5758f94f70f334ccf5097be (patch)
tree7a0fb1b72e496f4d9dad6d7a550b130100c69a4c /libavutil/arm
parent5e826fd65e6e8385a196aa0fdb01f60cfb0b55b6 (diff)
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>
Diffstat (limited to 'libavutil/arm')
-rw-r--r--libavutil/arm/bswap.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavutil/arm/bswap.h b/libavutil/arm/bswap.h
index f94cbcf23f..e49cdd4640 100644
--- a/libavutil/arm/bswap.h
+++ b/libavutil/arm/bswap.h
@@ -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)
{