mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Use native bswap32 instruction when __CPU__ is x86_64 instead of generic 386 code.
Originally committed as revision 5049 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
85ed1022b3
commit
afe6a4a0be
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue