[FFmpeg-cvslog] r19439 - trunk/configure

mru subversion
Wed Jul 15 21:02:07 CEST 2009

Author: mru
Date: Wed Jul 15 21:02:07 2009
New Revision: 19439

Disable gcc auto-vectorisation

The auto-vectoriser in gcc is enabled by default at -O3 since version
4.3.  However, it provides no speed benefit, but does produce incorrect
code on many targets.  Disabling it for gcc should give more reliable

If the adventurous want it back, they can edit the makefile themselves.


Modified: trunk/configure
--- trunk/configure	Wed Jul 15 20:33:12 2009	(r19438)
+++ trunk/configure	Wed Jul 15 21:02:07 2009	(r19439)
@@ -2335,6 +2335,8 @@ elif enabled ccc; then
     add_cflags -msg_disable nomainieee
     add_cflags -msg_disable ptrmismatch1
     add_cflags -msg_disable unreachcode
+elif enabled gcc; then
+    check_cflags -fno-tree-vectorize
 # PIC flags for shared library objects where they are needed

More information about the ffmpeg-cvslog mailing list