Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
adb033b5
Commit
adb033b5
authored
9 years ago
by
James Zern
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "configure: simplify x86 asm dependencies"
parents
fd51d901
6e6dbbc6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/make/configure.sh
+14
-8
14 additions, 8 deletions
build/make/configure.sh
configure
+11
-8
11 additions, 8 deletions
configure
with
25 additions
and
16 deletions
build/make/configure.sh
+
14
−
8
View file @
adb033b5
...
...
@@ -1208,14 +1208,20 @@ EOF
soft_enable runtime_cpu_detect
# We can't use 'check_cflags' until the compiler is configured and CC is
# populated.
check_gcc_machine_option mmx
check_gcc_machine_option sse
check_gcc_machine_option sse2
check_gcc_machine_option sse3
check_gcc_machine_option ssse3
check_gcc_machine_option sse4 sse4_1
check_gcc_machine_option avx
check_gcc_machine_option avx2
for
ext
in
${
ARCH_EXT_LIST_X86
}
;
do
# disable higher order extensions to simplify asm dependencies
if
[
"
$disable_exts
"
=
"yes"
]
;
then
if
!
disabled
$ext
;
then
RTCD_OPTIONS
=
"
${
RTCD_OPTIONS
}
--disable-
${
ext
}
"
disable_feature
$ext
fi
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
log_echo
" skipping assembler detection"
...
...
This diff is collapsed.
Click to expand it.
configure
+
11
−
8
View file @
adb033b5
...
...
@@ -234,6 +234,16 @@ ARCH_LIST="
x86
x86_64
"
ARCH_EXT_LIST_X86
=
"
mmx
sse
sse2
sse3
ssse3
sse4_1
avx
avx2
"
ARCH_EXT_LIST
=
"
edsp
media
...
...
@@ -245,14 +255,7 @@ ARCH_EXT_LIST="
msa
mips64
mmx
sse
sse2
sse3
ssse3
sse4_1
avx
avx2
${
ARCH_EXT_LIST_X86
}
"
HAVE_LIST
=
"
${
ARCH_EXT_LIST
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment