[Ffmpeg-devel] [PATCH] ARM implementation of FASTDIV

Siarhei Siamashka siarhei.siamashka
Thu Sep 28 02:26:50 CEST 2006


Hello All,

Here is FASTDIV macro for ARM. Considering that ARM does not have division
instruction, it is quite important. In my quick test mpeg4 decoding time
dropped from 110 seconds to 108.

PS. This macro is also implemented in Atty's SVN (Zaurus fork of MPlayer), but
it is buggy there (ampersands are important as umull instruction has
restriction on operands and they should be in different registers, the same
issue was encountered not so long ago when adding ARM specific macros to
mpegaudiodec.c)
 
http://atty.skr.jp/WebSVN/filedetails.php?repname=mplayer-w100&path=%2Ftrunk%2Flibavcodec%2Fcommon.h&rev=128&sc=1

PPS. Does anybody know how to checkout Atty's SVN in a normal way? Browsing it
with web interface is not very convenient.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fastdiv_arm.diff
Type: text/x-diff
Size: 613 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060928/fc3ee187/attachment.diff>



More information about the ffmpeg-devel mailing list