Hi,

On Tue, Nov 12, 2024 at 2:14 PM Frank Plowman <p...@frankplowman.com> wrote:

> Remove the MMX versions of these functions and modify the SSE
> implementations to avoid using MMX registers.
>
> Signed-off-by: Frank Plowman <p...@frankplowman.com>
> ---
> This wasn't wholly straightforward as the existing SSE implementation did
> not only use SSE but rather a blend of SSE and MMX.  I would appreciate
> some review, as I am not particularly familiar with x86 assembly.  Of
> particular interest are the changes to {READ,WRITE}_NUM_BYTES.  The new
> implementation does not make economic use of the XMM registers like the
> old one did, but it still does not exhaust them -- was this more of a
> concern when this was originally written?
>

I wrote the original SIMD code (IIRC), and back then MMX usage was
acceptable. Nowadays, it carries performance penalties with it and is
deprecated, so the baseline assumptions are just very different.

Your changes look reasonable, thanks for working on this. OK from me.

Ronald
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to