* configure.ac:

* src/lib/Makefile.am:
	fix compilation on MinGW. Windows 2000 is
	the minimum version supported by Evil (hence
	other EFL). Goodbye Windows 98.
	* src/bin/evil_test_memcpy.c:
	re-enable small memcpy tests. It seems that memcpy
	provided by glibc and the oem driver on Ipaq
	3970 I have, have the same speed.



SVN revision: 36724
This commit is contained in:
Vincent Torri 2008-10-16 17:12:59 +00:00
parent bb20ba07b4
commit 26e3986a81
4 changed files with 50 additions and 26 deletions

View File

@ -1,3 +1,16 @@
2008-10-16 Vincent Torri <doursse at users dot sf dot net>
* configure.ac:
* src/lib/Makefile.am:
fix compilation on MinGW. Windows 2000 is
the minimum version supported by Evil (hence
other EFL). Goodbye Windows 98.
* src/bin/evil_test_memcpy.c:
re-enable small memcpy tests. It seems that memcpy
provided by glibc and the oem driver on Ipaq
3970 I have, have the same speed.
2008-10-16 Vincent Torri <doursse at users dot sf dot net>
* Makefile.am:

View File

@ -35,7 +35,7 @@ AC_SUBST(version_info)
win32_libs=""
case "$host_os" in
mingw | mingw32 | mingw32msvc)
win32_libs="-lole32 -luuid -lws2_32"
win32_libs="-lole32 -luuid -lws2_32 -lsecur32"
;;
cegcc*)
win32_libs="-lws2"

View File

@ -35,7 +35,7 @@ test_memcpy_test_run(memcpy_decl fct, char *dst, const char *src, size_t len)
best = 1000000000.0;
for (i = 0; i < 32; ++i)
for (i = 0; i < 128; ++i)
{
double time;
@ -86,31 +86,31 @@ test_memcpy(void)
{
size_t i;
/* for (i = 0; i < 18; ++i) */
/* { */
/* test_memcpy_tests_run(0, 0, 1 << i); */
/* test_memcpy_tests_run(i, 0, 1 << i); */
/* test_memcpy_tests_run(0, i, 1 << i); */
/* test_memcpy_tests_run(i, i, 1 << i); */
/* } */
for (i = 0; i < 18; ++i)
{
test_memcpy_tests_run(0, 0, 1 << i);
test_memcpy_tests_run(i, 0, 1 << i);
test_memcpy_tests_run(0, i, 1 << i);
test_memcpy_tests_run(i, i, 1 << i);
}
/* for (i = 0; i < 32; ++i) */
/* { */
/* test_memcpy_tests_run(0, 0, i); */
/* test_memcpy_tests_run(i, 0, i); */
/* test_memcpy_tests_run(0, i, i); */
/* test_memcpy_tests_run(i, i, i); */
/* } */
for (i = 0; i < 32; ++i)
{
test_memcpy_tests_run(0, 0, i);
test_memcpy_tests_run(i, 0, i);
test_memcpy_tests_run(0, i, i);
test_memcpy_tests_run(i, i, i);
}
/* for (i = 3; i < 32; ++i) */
/* { */
/* if ((i & (i - 1)) == 0) */
/* continue; */
/* test_memcpy_tests_run(0, 0, 16 * i); */
/* test_memcpy_tests_run(i, 0, 16 * i); */
/* test_memcpy_tests_run(0, i, 16 * i); */
/* test_memcpy_tests_run(i, i, 16 * i); */
/* } */
for (i = 3; i < 32; ++i)
{
if ((i & (i - 1)) == 0)
continue;
test_memcpy_tests_run(0, 0, 16 * i);
test_memcpy_tests_run(i, 0, 16 * i);
test_memcpy_tests_run(0, i, 16 * i);
test_memcpy_tests_run(i, i, 16 * i);
}
test_memcpy_tests_run(0, 0, getpagesize ());
test_memcpy_tests_run(0, 0, 2 * getpagesize ());

View File

@ -38,7 +38,18 @@ evil_string.c \
evil_unistd.c \
evil_util.c
libevil_la_CPPFLAGS = -DEFL_EVIL_BUILD -D_WIN32_WCE=0x0420
libevil_la_CPPFLAGS = -DEFL_EVIL_BUILD
if EVIL_HAVE_MINGW32CE
libevil_la_CPPFLAGS += -D_WIN32_WCE=0x0420
else
libevil_la_CPPFLAGS += -D_WIN32_WINNT=0x0500
endif
libevil_la_CFLAGS = @win32_cflags@
libevil_la_LIBADD = @win32_libs@ $(EFL_MPATROL_LIBS)
libevil_la_LDFLAGS = -no-undefined -Wl,--enable-auto-import -version-info @version_info@