On Mon, Jan 18, 2016 at 04:38:27PM +0100, Diego Biurrun wrote:
> From: Fiona Glaser <[email protected]>
> 
> ---
>  libavutil/x86/cpu.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> --- a/libavutil/x86/cpu.c
> +++ b/libavutil/x86/cpu.c
> @@ -221,6 +221,12 @@ int ff_get_cpu_flags_x86(void)
> +
> +        /* Conroe has a slow shuffle unit. Check the model number to ensure 
> not
> +         * to include crippled low-end Penryns and Nehalems that lack SSE4. 
> */
> +        if ((rval & AV_CPU_FLAG_SSSE3) && !(rval & AV_CPU_FLAG_SSE4) &&
> +            model < 23)
> +            rval |= AV_CPU_FLAG_SSSE3SLOW;
>      }

Nicked from x264 and reused under LGPL here with permission from Fiona.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to