Hi,

On Fri, May 11, 2012 at 7:58 AM, Diego Biurrun <[email protected]> wrote:
> +%macro CMOV 3
> +%if HAVE_CMOV
> +  cmov%+1 %2, %3
> +%else
> +  j%-1 %%label
> +  mov %2, %3
> +  %%label:
> +%endif
> +%endmacro

Who sets HAVE_CMOV? Seems like a compile-time constant, i.e. this
won't work unless we detect the target at build-time, which defeats
the idea of runtime cpu-flag detection. You need to make it such that
cmov is used for >=mmx2, but not for mmx. Incidentally, porting h264
intra pred to cpuflags will make that job a lot easier.

Ronald

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

Reply via email to