Måns Rullgård <[email protected]> writes:

> "Ronald S. Bultje" <[email protected]> writes:
>
>> 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,
>
> It is set by configure based on the --cpu parameter.

Furthermore, this means that when it is set, the compiler has probably
used cmov all over the place anyway.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to