[FFmpeg-devel] [PATCH 1/3] diracdec: add 10-bit Haar SIMD functions

Henrik Gramner henrik at gramner.com
Fri Jul 27 16:05:19 EEST 2018


On Fri, Jul 27, 2018 at 1:47 PM, James Darnley <jdarnley at obe.tv> wrote:
> On 2018-07-26 17:29, Rostislav Pehlivanov wrote:
>>> +cglobal horizontal_compose_haar_10bit, 3, 6+ARCH_X86_64, 4, b, temp_, w,
>>> x, b2
>>> +    DECLARE_REG_TMP 2,5
>>> +    %if ARCH_X86_64
>>> +        %define tail r6d
>>> +    %else
>>> +        %define tail dword wm
>>> +    %endif
>>> +
>>>
>>
>> You can remove this whole bit, the init function only gets called if
>> ARCH_X86_64 is true.
>
> Where did you get that from?  I don't require 64-bit for this.

Can't you just use 7 GPR:s on x86-32 as well?


More information about the ffmpeg-devel mailing list