projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85ed102
)
Use native bswap32 instruction when __CPU__ is x86_64 instead of generic 386 code.
author
Ivan Kalvachev
<ikalvachev@gmail.com>
Wed, 22 Feb 2006 10:28:44 +0000
(10:28 +0000)
committer
Ivan Kalvachev
<ikalvachev@gmail.com>
Wed, 22 Feb 2006 10:28:44 +0000
(10:28 +0000)
Originally committed as revision 5049 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/bswap.h
patch
|
blob
|
history
diff --git
a/libavutil/bswap.h
b/libavutil/bswap.h
index
6454904
..
25d418c
100644
(file)
--- a/
libavutil/bswap.h
+++ b/
libavutil/bswap.h
@@
-27,7
+27,7
@@
static always_inline uint16_t bswap_16(uint16_t x)
static always_inline uint32_t bswap_32(uint32_t x)
{
-#if __CPU__
>
386
+#if __CPU__
!=
386
__asm("bswap %0":
"=r" (x) :
#else