mirror of
https://github.com/mpv-player/mpv
synced 2024-10-22 08:51:57 +02:00
configure: Move ASMALIGN check into x86 section
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32337 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1cf83abdad
commit
6939bd8c9c
26
configure
vendored
26
configure
vendored
@ -2522,18 +2522,6 @@ if x86_32 ; then
|
||||
|
||||
fi #if x86_32
|
||||
|
||||
echocheck ".align is a power of two"
|
||||
if test "$_asmalign_pot" = auto ; then
|
||||
_asmalign_pot=no
|
||||
inline_asm_check '".align 3"' && _asmalign_pot=yes
|
||||
fi
|
||||
if test "$_asmalign_pot" = "yes" ; then
|
||||
def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"'
|
||||
else
|
||||
def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"'
|
||||
fi
|
||||
echores $_asmalign_pot
|
||||
|
||||
|
||||
echocheck "PIC"
|
||||
pic=no
|
||||
@ -2550,6 +2538,20 @@ echores $pic
|
||||
|
||||
|
||||
if x86 ; then
|
||||
|
||||
echocheck ".align is a power of two"
|
||||
if test "$_asmalign_pot" = auto ; then
|
||||
_asmalign_pot=no
|
||||
inline_asm_check '".align 3"' && _asmalign_pot=yes
|
||||
fi
|
||||
if test "$_asmalign_pot" = "yes" ; then
|
||||
def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"'
|
||||
else
|
||||
def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"'
|
||||
fi
|
||||
echores $_asmalign_pot
|
||||
|
||||
|
||||
echocheck "10 assembler operands"
|
||||
ten_operands=no
|
||||
def_ten_operands='#define HAVE_TEN_OPERANDS 0'
|
||||
|
Loading…
Reference in New Issue
Block a user