OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e826fd
)
ARM: bswap: drop armcc version of av_bswap16()
author
Mans Rullgard
<mans@mansr.com>
Tue, 2 Oct 2012 15:34:34 +0000
(16:34 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Tue, 2 Oct 2012 18:47:56 +0000
(19:47 +0100)
This function causes several versions of armcc to miscompile code,
and the performance impact is small.
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/arm/bswap.h
patch
|
blob
|
history
diff --git
a/libavutil/arm/bswap.h
b/libavutil/arm/bswap.h
index
f94cbcf
..
e49cdd4
100644
(file)
--- 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)
{