changeset 28859:15a7ea3fe2e0

Add test for C memcpy()
author michael
date Sun, 08 Mar 2009 15:56:20 +0000
parents 9d8098c10621
children 7fcc0bf5b27a
files Makefile TOOLS/fastmem.sh
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Mar 08 15:43:52 2009 +0000
+++ b/Makefile	Sun Mar 08 15:56:20 2009 +0000
@@ -1018,6 +1018,7 @@
 	$(CC) $(CFLAGS) -o $@ $^ $(EXTRALIBS_MPLAYER) $(EXTRALIBS_MENCODER) $(COMMON_LDFLAGS)
 
 fastmemcpybench: TOOLS/fastmemcpybench.c
+	$(CC) $(CFLAGS) $< -o TOOLS/fastmem-c$(EXESUF)    -DNAME=\"c\"
 	$(CC) $(CFLAGS) $< -o TOOLS/fastmem-mmx$(EXESUF)  -DNAME=\"mmx\"      -DHAVE_MMX
 	$(CC) $(CFLAGS) $< -o TOOLS/fastmem-k6$(EXESUF)   -DNAME=\"k6\ \"     -DHAVE_MMX -DHAVE_AMD3DNOW
 	$(CC) $(CFLAGS) $< -o TOOLS/fastmem-k7$(EXESUF)   -DNAME=\"k7\ \"     -DHAVE_MMX -DHAVE_AMD3DNOW -DHAVE_MMX2
--- a/TOOLS/fastmem.sh	Sun Mar 08 15:43:52 2009 +0000
+++ b/TOOLS/fastmem.sh	Sun Mar 08 15:56:20 2009 +0000
@@ -9,6 +9,8 @@
 sleep 2
 ./fastmem-sse
 sleep 2
+./fastmem-c
+sleep 2
 ./fastmem2-k6
 sleep 2
 ./fastmem2-k7