[FFmpeg-devel] [RFC] clobbers for XMM registers

Måns Rullgård mans
Tue Sep 28 16:22:15 CEST 2010


Michael Niedermayer <michaelni at gmx.at> writes:

> On Tue, Sep 28, 2010 at 09:36:40AM -0400, Ronald S. Bultje wrote:
>> Hi,
>> 
>> On Tue, Sep 28, 2010 at 8:34 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> > you want to execute code from vp3dsp_sse2.c on a pre SSE cpu?
>> 
>> All _sse2 files are templates files that are included in dsputil_mmx.c
>> or similar.
>
> we could add the flags to dsputil_mmx then

That would allow the compiler to use SSE instructions in functions
that should be MMX only.

> or split the file.

That would require either duplication or obfuscation.

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



More information about the ffmpeg-devel mailing list