[FFmpeg-devel] [PATCH] x86: hevc_mc: specify coefficients registers

Michael Niedermayer michaelni at gmx.at
Sun May 18 16:30:23 CEST 2014


On Sun, May 18, 2014 at 12:18:05PM +0200, Christophe Gisquet wrote:
> Another example of a macro not efficient enough causing extra xmm reg usage.
> 
> No benchmark this time, should be pretty obvious.
> 
> Note: again the gprs are dispensed, but this is a bit more tedious
> work to fix this.
> 
> -- 
> Christophe

>  hevc_mc.asm |   59 ++++++++++++++++++++++++++++++++---------------------------
>  1 file changed, 32 insertions(+), 27 deletions(-)
> 6627bc6208116f6c7e3a45c27f6ad9d552eb8ee0  0002-x86-hevc_mc-specify-coefficients-registers.patch
> From 02fff139d11cbe5b68207149c765bb191bf471ec Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Sun, 18 May 2014 12:02:37 +0200
> Subject: [PATCH 2/2] x86: hevc_mc: specify coefficients registers
> 
> By default, macro EPEL_FILTER loads the coefficients inconditionally
> into m14/m15. This forces an unneeded higher register count.
> 
> Reduce that count by making them parameters of EPEL_FILTER.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140518/b7c39dc8/attachment.asc>


More information about the ffmpeg-devel mailing list