[Mplayer-users] [mplayer PATCH] SSE fastmemcpy improvements

Nick Kurshev nickols_k at mail.ru
Sat Apr 21 14:55:00 CEST 2001


Hello, Arpi!

(Sorry for delay, but my internet provider is hardly accesible after 21:00 by local time.)

On Fri, 20 Apr 2001 19:22:58 +0200 (CEST), Arpi wrote:

>> I want to suggest you a patch which improves SSE related part of fastmemcpy.
>
>In file included from vo_odivx.c:22:
>fastmemcpy.h: In function ast_memcpy':
>fastmemcpy.h:102: invalid lvalue in unary &'
>fastmemcpy.h:102: parse error before )'
>fastmemcpy.h:104: parse error before )'
>fastmemcpy.h: At top level:
>fastmemcpy.h:206: parse error before {'
>make[1]: *** [vo_odivx.o] Error 1
>
>arpi:/demo/mplayer/main# gcc -v
>Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.2/specs
>gcc version 2.95.2 19991024 (release)
>
As I wrote there is missed one opening bracket and it caused error messages.
Correct version should be:
-if((unsigned long)from) & 15)
+if(((unsigned long)from) & 15)
Patch can be applied after modifing. But benchmarks required additional investigations.
Anyway SFENCE should be applied but new comments - if you want.


Best regards! Nick



_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list