Hi, on imx31 I got similar times with Vince's routine and a glibc-small memcpy(), with a 4.1.2 g++ from codesourcery, (doing raw memcopies in a test binary).
BTW (and out of topic!) i'm looking for a arm11+vfp optimized (vectorized?) routine that does int16 = (int16)(float*(2^16)) with respect of saturation (if |float| > 1.0, the int16 is saturated). This is actualy for audio processing (converting from normalized float samples to 16bit samples), maybe you know about such routines and your help would be greatly appreciated ;) Marc. -------- Message d'origine-------- De: directfb-dev-boun...@directfb.org de la part de Craig Matsuura Date: ven. 20/03/2009 23:18 À: directfb-dev@directfb.org Cc: vince; Sven Neumann Objet : Re: [directfb-dev] ARM asm memcpy I tried your patch on DFB 1.1.1 it applied and compiled. I did not see significant improvement, in fact my blits slowed down by a factor of 2. I tried this on our arm9 (davinci using /dev/fb1 at 1280x720x24 (RGB)). The other platform was an mx31 at 800x480x16. The mx31 is uinsg a newer 4.x toolchain and the davinci is and older 3.4 toolchain. Both used the fbdev device. Any thoughts why? Craig On Wednesday 18 March 2009 7:17:57 am Sven Neumann wrote: > Hi, > > I have applied your patch to my copy of DirectFB 1.2.7 (it applies > cleanly there) and compared the results of df_dok before and after. For > most operations the results are pretty much the same, but the > performance of "Blit" improved significantly: > > Blit 3.000 secs ( 24.029 MPixel/sec) > Blit 3.023 secs ( 34.686 MPixel/sec) > > This test was done on a PXA 300 using the generic software rasterizer: > > Processor : XScale-V3 based processor rev 1 (v5l) > BogoMIPS : 622.59 > Features : swp half fastmult edsp iwmmxt > CPU implementer : 0x69 > CPU architecture: 5TE > CPU variant : 0x0 > CPU part : 0x688 > CPU revision : 1 > Hardware : CM-X300 module > > Note that I haven't checked the results for correctness. > > > Sven > > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev