diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-15 19:02:07 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-15 19:02:07 +0000 |
commit | 973859f5230e77beea7bb59dc081870689d6d191 (patch) | |
tree | 6c9c82d3171258c198a4e3ed99f747f08a959810 | |
parent | 89e053f83db596c9263fd9d8cae6f4e15a9b4d49 (diff) | |
download | ffmpeg-973859f5230e77beea7bb59dc081870689d6d191.tar.gz |
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
builds.
If the adventurous want it back, they can edit the makefile themselves.
Originally committed as revision 19439 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 fi # PIC flags for shared library objects where they are needed |