[FFmpeg-devel] fate : clang x86

Måns Rullgård mans
Mon Aug 30 23:50:55 CEST 2010


Alex Converse <alex.converse at gmail.com> writes:

> 2010/8/30 M?ns Rullg?rd <mans at mansr.com>:
>> Alex Converse <alex.converse at gmail.com> writes:
>>
>>>>> Perhaps you should look at the yasm STRUC macro
>>>>
>>>> I am not going to recode MpegEncContext into yasm.
>>>
>>> You don't have to recode it, just write a little script to generate
>>> the yasm STRUC from the C struct
>>
>> It's not that easy. ?It recursively contains other structs and has
>> members with forced alignment. ?I wouldn't trust anything but the
>> compiler to get it right.
>
> Well I wouldn't trust the compiler to preserve registers across split
> asm sections.

Me neither.  However, I don't think an extra function call is going to
have a measurable effect.

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



More information about the ffmpeg-devel mailing list