[FFmpeg-devel] [PATCH] Move MLP's dot product to DSPContext

Måns Rullgård mans
Fri May 15 21:19:35 CEST 2009


Ramiro Polla <ramiro.polla at gmail.com> writes:

> 2009/5/15 M?ns Rullg?rd <mans at mansr.com>:
>> Michael Niedermayer <michaelni at gmx.at> writes:
>>
>>> On Fri, May 15, 2009 at 01:30:17PM -0300, Ramiro Polla wrote:
>>>> Is there a way to expand sizeof(int32_t)*foobar into the asm without
>>>> using the "i" constraint?
>>>
>>> sizeof(int32_t) is 4
>>
>> Not if CHAR_BIT != 8.
>
> We're talking about x86 here, so I guess it's safe to assume
> sizeof(int32_t) == 4.

That's up to the compiler, not the CPU, but you're probably right.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list