[FFmpeg-devel] [PATCH] Some IWMMXT functions for libavcodec #2

Siarhei Siamashka siarhei.siamashka
Mon May 19 20:37:23 CEST 2008


On Monday 19 May 2008, Dmitry Antipov wrote:

> > #define SUM(x,y) \
> >      "wldrd wr" #x ", [%1, #8] \n\t" \   (0)
> >      "wldrd wr" #y ", [%1], %2 \n\t" \   (1)
> >      "wsadb wr0, wr" #x ", wr3 \n\t" \   (2)
> >      "wsadb wr0, wr" #y ", wr3 \n\t"     (3)

[...]

> > But, despite of this,
> > pix_sum_iwmmxt__loads_backward_postincrement_wsadb_unroll16 is one of the
> > fastest versions of pix_sum.

BTW, congrats for finding this WACCB & WADDW -> WSADB optimization
possibility.

-- 
Best regards,
Siarhei Siamashka




More information about the ffmpeg-devel mailing list