Commit fa3a6713 authored by mru's avatar mru

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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19439 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eb75e853
...@@ -2335,6 +2335,8 @@ elif enabled ccc; then ...@@ -2335,6 +2335,8 @@ elif enabled ccc; then
add_cflags -msg_disable nomainieee add_cflags -msg_disable nomainieee
add_cflags -msg_disable ptrmismatch1 add_cflags -msg_disable ptrmismatch1
add_cflags -msg_disable unreachcode add_cflags -msg_disable unreachcode
elif enabled gcc; then
check_cflags -fno-tree-vectorize
fi fi
# PIC flags for shared library objects where they are needed # PIC flags for shared library objects where they are needed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment