On 18/01/16 16:38, Diego Biurrun wrote:
> From: Fiona Glaser <fi...@x264.com>
> 
> ---
>  libavutil/x86/cpu.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/libavutil/x86/cpu.c b/libavutil/x86/cpu.c
> index e7647dc..7cc9896 100644
> --- a/libavutil/x86/cpu.c
> +++ b/libavutil/x86/cpu.c
> @@ -221,6 +221,12 @@ int ff_get_cpu_flags_x86(void)
>           * functions on the Atom. */
>          if (model == 28)
>              rval |= AV_CPU_FLAG_ATOM;
> +
> +        /* 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;
>      }
>  
>  #endif /* cpuid */
> 

Ok.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to