[FFmpeg-devel] [PATCH 1/6] x86: huffyuvdsp: port mmx add_bytes to yasm
Michael Niedermayer
michaelni at gmx.at
Thu May 29 22:29:59 CEST 2014
On Thu, May 29, 2014 at 09:41:27PM +0200, Christophe Gisquet wrote:
> Hi,
>
> 2014-05-29 21:16 GMT+02:00 James Almer <jamrial at gmail.com>:
> > On 29/05/14 2:37 PM, Christophe Gisquet wrote:
> > mova m0, [dstq + sizeq]
> > mova m1, [dstq + sizeq + mmsize]
> > paddb m0, [srcq + sizeq]
> > paddb m1, [srcq + sizeq + mmsize]
> > mova [dstq + sizeq], m0
> > mova [dstq + sizeq + mmsize], m1
>
> I thought I had benchmarked it as slower on mmx. Retested, no
> difference this time.
>
> However, the code size is smaller so it makes sense.
>
> --
> Christophe
> huffyuvdsp.c | 2 +-
> huffyuvdsp.h | 2 +-
> ppc/huffyuvdsp_altivec.c | 2 +-
> x86/huffyuvdsp.asm | 37 +++++++++++++++++++++++++++++++++++++
> x86/huffyuvdsp_init.c | 9 +++++++--
> x86/huffyuvdsp_mmx.c | 32 +-------------------------------
> 6 files changed, 48 insertions(+), 36 deletions(-)
> d73ad5f5306e8dc31c4ce8466f89e84b4ec9af6c 0001-x86-huffyuvdsp-port-add_bytes-to-yasm.patch
> From bbac9f54e11032b3779b4a6f0364329382232bdd Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Wed, 28 May 2014 15:52:24 +0200
> Subject: [PATCH 1/5] x86: huffyuvdsp: port add_bytes to yasm
>
> C MMX SSE2
> Cycles: 2972 587 302
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140529/ad4aeb7a/attachment.asc>
More information about the ffmpeg-devel
mailing list