[FFmpeg-devel] [RFC] Disable gcc auto-vectorisation
Wed Jul 15 21:06:36 CEST 2009
M?ns Rullg?rd <mans at mansr.com> writes:
> Since gcc 4.3, the auto-vectoriser (-ftree-vectorize) has been enabled
> at -O3 optimisation level. This vectoriser is, mildly put, useless.
> When it doesn't produce outright broken code, it is a gamble whether
> the result is any faster whatsoever, and we have seen cases where it
> introduced a significant slowdown.
> My proposal is to disable this misfeature by adding
> -fno-tree-vectorize to the compiler flags when using gcc.
> Does anyone have a good reason for not doing this?
Since, apparently, nobody else cares about this, I have disabled it
for all gcc builds.
mans at mansr.com
More information about the ffmpeg-devel