qsieve

qsieve Commit Details


Date:2013-04-17 23:13:00 (6 years 11 months ago)
Author:Natalie Adams
Branch:default
Commit:0bf643a2ed03
Parents: 4d365e34ac0b
Message:fixing Sieving and modifications

Changes:
Mconfigure.ac (1 diff)
Msrc/Makefile.in (1 diff)
Msrc/Sieving.cc (1 diff)

File differences

configure.ac
326326
327327
328328
329
329
330330
331331
332332
333333
334334
335335
336
336
337337
338338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366366
367367
368368
dnl checking for specific cpu support
dnl AC_SUBST([mode_386],["#"])
AC_SUBST([mode_386],["#"])
AC_SUBST([mode_mmx],["#"])
AC_SUBST([mode_cmov],["#"])
AC_SUBST([mode_sse],["#"])
AC_SUBST([mode_sse2],["#"])
AC_SUBST([mode_3dnow],["#"])
AC_SUBST([mode_athlon],["#"])
dnl AC_SUBST([mode_X86_64],["#"])
AC_SUBST([mode_X86_64],["#"])
AC_SUBST([ASM_DEFINES],[""])
#AC_MSG_CHECKING([for specific cpu support])
#AC_TRY_RUN([
#int main()
#{
# #if #cpu (i386)
# return 0;
# #else
# return 1;
# #endif
#}
#], [AC_MSG_RESULT([i386 (32bit) is supported])]
# # [ASM_DEFINES=$ASM_DEFINES" -DASM_386"]
# [AC_SUBST([mode_386],[""])],
#[ AC_TRY_RUN([
# int main()
# {
# #if #cpu (x86_64)
# return 0;
# #else
# return 1;
# #endif
# }
# ], [AC_MSG_RESULT([X86_64 (64bit) is supported])]
# [ASM_DEFINES=$ASM_DEFINES" -DASM_X86_64"]
# [AC_SUBST([mode_X86_64],[""])],
# [AC_MSG_RESULT([no, generic support])])
#])
AC_MSG_CHECKING([for specific cpu support])
AC_TRY_RUN([
int main()
{
#if #cpu (i386)
return 0;
#else
return 1;
#endif
}
], [AC_MSG_RESULT([i386 (32bit) is supported])]
[ASM_DEFINES=$ASM_DEFINES" -DASM_386"]
[AC_SUBST([mode_386],[""])],
[ AC_TRY_RUN([
int main()
{
#if #cpu (x86_64)
return 0;
#else
return 1;
#endif
}
], [AC_MSG_RESULT([X86_64 (64bit) is supported])]
[ASM_DEFINES=$ASM_DEFINES" -DASM_X86_64"]
[AC_SUBST([mode_X86_64],[""])],
[AC_MSG_RESULT([no, generic support])])
])
if test "x$mode_386" = "x"; then
src/Makefile.in
378378
379379
380380
381
381
382382
383383
384384
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
mode_386 = @mode_386@
#mode_386 = @mode_386@
mode_3dnow = @mode_3dnow@
mode_X86_64 = @mode_X86_64@
mode_athlon = @mode_athlon@
src/Sieving.cc
615615
616616
617617
618
618619
619620
620621
#else
#undef SIEBASM_386
#warning "No optimized assemblercode available for sieving with TSieveElement!"
unsigned int clobbered_int;
#endif
#if !defined(asm_sieb_small)
#warning "no optimized asm_sieb_small, therefore using asm_sieb"

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 0.50123s using 14 queries.