[FFmpeg-cvslog] Revert "configure: Enable GCC vectoriza =?UTF-8?Q?tion=20on=20=E2=89=A54=2E9=20on=20x86?="
James Almer
git at videolan.org
Sat Jul 9 22:43:29 CEST 2016
ffmpeg | branch: release/3.0 | James Almer <jamrial at gmail.com> | Sat Jul 9 16:00:06 2016 -0300| [4774eb8128ea61a8b2f60e3d5950f48ebf6b8c55] | committer: James Almer
Revert "configure: Enable GCC vectorization on ≥4.9 on x86"
This reverts commit cb8646af24bd8e9627cc5e1c62b049a00fe0b07b.
This change has brough more issues than benefits, between compilation
time failures depending on flags used and code miscompilation causing
runtime crashes.
See the "[PATCH 2/2] configure: Enable GCC vectorization on ≥4.9"
thread in the ffmpeg-devel mailing list for the relevant discussion.
(cherry picked from commit fd6dbc53855fbfc9a782095d0ffe11dd3a98905f)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4774eb8128ea61a8b2f60e3d5950f48ebf6b8c55
---
configure | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/configure b/configure
index 9103e85..1091bdc 100755
--- a/configure
+++ b/configure
@@ -5923,11 +5923,7 @@ elif enabled ccc; then
add_cflags -msg_disable nonstandcast
add_cflags -msg_disable unsupieee
elif enabled gcc; then
- case $gcc_basever in
- 4.9*) enabled x86 || check_optflags -fno-tree-vectorize ;;
- 4.*) check_optflags -fno-tree-vectorize ;;
- *) enabled x86 || check_optflags -fno-tree-vectorize ;;
- esac
+ check_optflags -fno-tree-vectorize
check_cflags -Werror=format-security
check_cflags -Werror=implicit-function-declaration
check_cflags -Werror=missing-prototypes
More information about the ffmpeg-cvslog
mailing list