[FFmpeg-devel] [PATCH 2/2] configure: Enable GCC vectorization on ≥4.9

James Almer jamrial at gmail.com
Sat Jul 9 23:43:25 EEST 2016


On 7/9/2016 4:56 PM, Michael Niedermayer wrote:
> On Sat, Jul 09, 2016 at 04:07:14PM -0300, James Almer wrote:
>> On 7/9/2016 3:28 PM, Ronald S. Bultje wrote:
>>> Hi,
>>>
>>> On Sat, Jul 9, 2016 at 1:38 PM, James Almer <jamrial at gmail.com> wrote:
>>>> [14:31:33] <jamrial>
>>>> https://github.com/mpc-hc/mpc-hc/commit/fe1b4ebd1ab69109c898fd4aa250013e18d2d116
>>>> looks like some projects using ffmpeg are disabling tree vectorization to
>>>> fix crashes
>>>> [14:33:03] <jamrial> guess we should disable it for good. it's brought
>>>> more problems than potential performance improvements
>>>> [14:35:19] <@nevcairiel> with gcc 6.1 it also doesnt build on windows
>>>> [14:35:27] <@nevcairiel> because inline asm and registers
>>>> [14:35:54] <@nevcairiel> (doesnt build on x86 if you use -msse or higher)
>>>> [14:36:05] <jamrial> yeah, happened to me
>>>> [14:36:22] <jamrial> -march=haswell on mingw x86_32 = cabac fails to
>>>> compile
>>>> [14:37:38] <jamrial> also with 5.x
>>>>
>>>> Not a lot of arguments remain to keep this in place, so i'll revert this
>>>> change soon if nobody objects.
>>>
>>>
>>> OK.
>>>
>>> Ronald
>>
>> Pushed. Should i backport this to the 3.1 and 3.0 branches?
> 
> if they are affected, yes

They are, yes.

> when in doubt yes

I prefer to ask first :P

Backported.

> 
> thx
> 
> [...]
> 
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list