[FFmpeg-devel] [PATCH] x86: hevc_mc: replace simple leas by adds

Michael Niedermayer michaelni at gmx.at
Sat Jul 26 12:28:01 CEST 2014


On Thu, Jul 24, 2014 at 08:23:21PM +0200, Christophe Gisquet wrote:
> Hi,
> 
> the impact is relatively important (3 to 25 cycles, ie up to 2%) so I
> also include bench.patch if anybody wants to confirm the timings.
> 
> Although I thought openhevc's MC code was faster, the benchmarked
> functions are faster in ffmpeg. I didn't investigate if there are any
> MC functions much slower in ffmpeg or if there's something else
> occurring.
> 
> -- 
> Christophe

>  hevc_mc.asm |  120 ++++++++++++++++++++++++++++++------------------------------
>  1 file changed, 60 insertions(+), 60 deletions(-)
> 81993427d6748045a274a75ef6fce026427e55aa  0010-x86-hevc_mc-replace-simple-leas-by-adds.patch
> From 36dbc9b67269579e23345ec225ffa270d472b94e Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Thu, 24 Jul 2014 17:23:47 +0200
> Subject: [PATCH 10/10] x86: hevc_mc: replace simple leas by adds
> 
> lea is detrimental for those simple cases. No impact overall to
> the change though.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20140726/1fc86e5c/attachment.asc>


More information about the ffmpeg-devel mailing list