Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
adb033b5
Commit
adb033b5
authored
Nov 25, 2015
by
James Zern
Committed by
Gerrit Code Review
Nov 25, 2015
Browse files
Merge "configure: simplify x86 asm dependencies"
parents
fd51d901
6e6dbbc6
Changes
2
Show whitespace changes
Inline
Side-by-side
build/make/configure.sh
View file @
adb033b5
...
@@ -1208,14 +1208,20 @@ EOF
...
@@ -1208,14 +1208,20 @@ EOF
soft_enable runtime_cpu_detect
soft_enable runtime_cpu_detect
# We can't use 'check_cflags' until the compiler is configured and CC is
# We can't use 'check_cflags' until the compiler is configured and CC is
# populated.
# populated.
check_gcc_machine_option mmx
for
ext
in
${
ARCH_EXT_LIST_X86
}
;
do
check_gcc_machine_option sse
# disable higher order extensions to simplify asm dependencies
check_gcc_machine_option sse2
if
[
"
$disable_exts
"
=
"yes"
]
;
then
check_gcc_machine_option sse3
if
!
disabled
$ext
;
then
check_gcc_machine_option ssse3
RTCD_OPTIONS
=
"
${
RTCD_OPTIONS
}
--disable-
${
ext
}
"
check_gcc_machine_option sse4 sse4_1
disable_feature
$ext
check_gcc_machine_option avx
fi
check_gcc_machine_option avx2
elif
disabled
$ext
;
then
disable_exts
=
"yes"
else
# use the shortened version for the flag: sse4_1 -> sse4
check_gcc_machine_option
${
ext
%_*
}
$ext
fi
done
if
enabled external_build
;
then
if
enabled external_build
;
then
log_echo
" skipping assembler detection"
log_echo
" skipping assembler detection"
...
...
configure
View file @
adb033b5
...
@@ -234,6 +234,16 @@ ARCH_LIST="
...
@@ -234,6 +234,16 @@ ARCH_LIST="
x86
x86
x86_64
x86_64
"
"
ARCH_EXT_LIST_X86
=
"
mmx
sse
sse2
sse3
ssse3
sse4_1
avx
avx2
"
ARCH_EXT_LIST
=
"
ARCH_EXT_LIST
=
"
edsp
edsp
media
media
...
@@ -245,14 +255,7 @@ ARCH_EXT_LIST="
...
@@ -245,14 +255,7 @@ ARCH_EXT_LIST="
msa
msa
mips64
mips64
mmx
${
ARCH_EXT_LIST_X86
}
sse
sse2
sse3
ssse3
sse4_1
avx
avx2
"
"
HAVE_LIST
=
"
HAVE_LIST
=
"
${
ARCH_EXT_LIST
}
${
ARCH_EXT_LIST
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment