Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
e32f3d0f
Commit
e32f3d0f
authored
Sep 22, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put all SS(S)E* checks under --enable-sse
parent
be5d9107
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
30 deletions
+2
-30
configure.ac
configure.ac
+2
-30
No files found.
configure.ac
View file @
e32f3d0f
...
...
@@ -1394,7 +1394,7 @@ dnl Check for fully workin SSE2 intrinsics
dnl We need support for -mmmx, we need <emmintrin.h>, and we also need a
dnl working compiler (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23963)
AC_ARG_ENABLE(sse,
[ --disable-sse disable SSE (1
and 2
) optimizations (default auto)]
[ --disable-sse disable SSE (1
, 2, 3 and 4
) optimizations (default auto)]
,, [
case "${host_cpu}" in
i686|x86_64)
...
...
@@ -1453,21 +1453,7 @@ AS_IF([test "${enable_sse}" != "no"], [
VLC_ADD_PLUGIN([i420_yuy2_sse2])
VLC_ADD_PLUGIN([i422_yuy2_sse2])
])
])
AC_ARG_ENABLE(sse3,
[ --disable-sse3 disable SSE3/SSSE3 optimizations (default auto)]
,, [
case "${host_cpu}" in
i686|x86_64)
enable_sse3=yes
;;
*)
enable_sse3=no
;;
esac
])
AS_IF([test "${enable_sse3}" != "no"], [
# SSE3
AC_CACHE_CHECK([if $CC groks SSE3 inline assembly],
[ac_cv_sse3_inline],
...
...
@@ -1491,22 +1477,8 @@ AS_IF([test "${enable_sse3}" != "no"], [
AS_IF([test "${ac_cv_ssse3_inline}" != "no"], [
AC_DEFINE(CAN_COMPILE_SSSE3, 1,
[Define to 1 if SSSE3 inline assembly is available.]) ])
])
AC_ARG_ENABLE(sse4,
[ --disable-sse4 disable SSE4 optimizations (default auto)]
,, [
case "${host_cpu}" in
i686|x86_64)
enable_sse4=yes
;;
*)
enable_sse4=no
;;
esac
])
AS_IF([test "${enable_sse4}" != "no"], [
# SSE3
# SSE4
AC_CACHE_CHECK([if $CC groks SSE4 inline assembly],
[ac_cv_sse4_inline],
[CFLAGS="${CFLAGS_save} -O -msse4"
...
...
Write
Preview
Markdown
is supported
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