gmp-6.0.0a tuneup aborts computing HGCD_THRESHOLD
erbenton
erbenton at comcast.net
Fri May 15 03:44:18 UTC 2015
System Info openSUSE 13.1 (Bottle) (x86_64) :
# uname -a
Linux erb1 4.0.1-1.gb77e339-default #1 SMP Wed Apr 29 13:52:57 UTC 2015
(b77e339) x86_64 x86_64 x86_64 GNU/Linux
Info from /prc/.cpuinfo (sowing last cpu only (6 core HT cpu 32G memory)
processor : 11
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Core(TM) i7-3960X CPU @ 3.30GHz
stepping : 7
microcode : 0x710
cpu MHz : 1353.386
cache size : 15360 KB
physical id : 0
siblings : 12
core id : 5
cpu cores : 6
apicid : 11
initial apicid : 11
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2
popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts
dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 6600.37
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
###################################################
Hi,
Having a problem running tuneup
used default ./configure, make, make check
gmp 6.0.0a - compiled and make check ran fine exit code 0
"cd tune; make tune" also completes without error
./tuneup:
# ./tuneup
Parameters for ./mpn/x86_64/coreisbr/gmp-mparam.h
Using: CPU cycle counter, supplemented by microsecond getrusage()
speed_precision 10000, speed_unittime 8.33e-10 secs, CPU freq 1199.99 MHz
DEFAULT_MAX_SIZE 1000, fft_max_size 50000
/* Generated by tuneup.c, 2015-05-14, gcc 4.8 */
#define MOD_1_NORM_THRESHOLD 0 /* always */
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
#define MOD_1N_TO_MOD_1_1_THRESHOLD 3
#define MOD_1U_TO_MOD_1_1_THRESHOLD 3
#define MOD_1_1_TO_MOD_1_2_THRESHOLD 9
#define MOD_1_2_TO_MOD_1_4_THRESHOLD 22
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 9
#define USE_PREINV_DIVREM_1 1 /* native */
#define DIV_QR_1_NORM_THRESHOLD 1
#define DIV_QR_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIV_QR_2_PI2_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define BMOD_1_TO_MOD_1_THRESHOLD 30
#define MUL_TOOM22_THRESHOLD 20
#define MUL_TOOM33_THRESHOLD 62
#define MUL_TOOM44_THRESHOLD 166
#define MUL_TOOM6H_THRESHOLD 250
#define MUL_TOOM8H_THRESHOLD 333
#define MUL_TOOM32_TO_TOOM43_THRESHOLD 98
#define MUL_TOOM32_TO_TOOM53_THRESHOLD 114
#define MUL_TOOM42_TO_TOOM53_THRESHOLD 105
#define MUL_TOOM42_TO_TOOM63_THRESHOLD 114
#define MUL_TOOM43_TO_TOOM54_THRESHOLD 147
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
#define SQR_TOOM2_THRESHOLD 28
#define SQR_TOOM3_THRESHOLD 93
#define SQR_TOOM4_THRESHOLD 250
#define SQR_TOOM6_THRESHOLD 351
#define SQR_TOOM8_THRESHOLD 458
#define MULMID_TOOM42_THRESHOLD 34
#define MULMOD_BNM1_THRESHOLD 13
#define SQRMOD_BNM1_THRESHOLD 16
#define MUL_FFT_MODF_THRESHOLD 380 /* k = 5 */
#define MUL_FFT_TABLE3 \
{ { 380, 5}, { 19, 6}, { 10, 5}, { 21, 6}, \
{ 11, 5}, { 23, 6}, { 21, 7}, { 11, 6}, \
{ 23, 7}, { 12, 6}, { 25, 7}, { 21, 8}, \
{ 11, 7}, { 25, 8}, { 13, 7}, { 28, 8}, \
{ 15, 7}, { 31, 8}, { 17, 7}, { 35, 8}, \
{ 21, 9}, { 11, 8}, { 27, 9}, { 15, 8}, \
{ 35, 9}, { 19, 8}, { 39, 9}, { 23, 8}, \
{ 49, 9}, { 27,10}, { 15, 9}, { 39,10}, \
{ 23, 9}, { 51,11}, { 15,10}, { 31, 9}, \
{ 71,10}, { 39, 9}, { 79,10}, { 47, 6}, \
{ 767, 4}, { 16, 5}, { 32, 6}, { 64, 7}, \
{ 128, 8}, { 256, 9}, { 512,10}, { 1024,11}, \
{ 2048,12}, { 4096,13}, { 8192,14}, { 16384,15}, \
{ 32768,16}, { 65536,17}, { 131072,18}, { 262144,19}, \
{ 524288,20}, {1048576,21}, {2097152,22}, {4194304,23}, \
{8388608,24} }
#define MUL_FFT_TABLE3_SIZE 61
#define MUL_FFT_THRESHOLD 4736
#define SQR_FFT_MODF_THRESHOLD 336 /* k = 5 */
#define SQR_FFT_TABLE3 \
{ { 336, 5}, { 19, 6}, { 10, 5}, { 21, 6}, \
{ 11, 5}, { 23, 6}, { 25, 7}, { 25, 8}, \
{ 13, 7}, { 27, 8}, { 15, 7}, { 31, 8}, \
{ 21, 9}, { 11, 8}, { 27, 9}, { 15, 8}, \
{ 33, 9}, { 19, 8}, { 41, 9}, { 23, 8}, \
{ 47, 9}, { 27,10}, { 15, 9}, { 39,10}, \
{ 23, 9}, { 51,11}, { 15,10}, { 31, 9}, \
{ 63,10}, { 39, 9}, { 79,10}, { 47,11}, \
{ 2048,12}, { 4096,13}, { 8192,14}, { 16384,15}, \
{ 32768,16}, { 65536,17}, { 131072,18}, { 262144,19}, \
{ 524288,20}, {1048576,21}, {2097152,22}, {4194304,23}, \
{8388608,24} }
#define SQR_FFT_TABLE3_SIZE 45
#define SQR_FFT_THRESHOLD 3264
#define MULLO_BASECASE_THRESHOLD 0 /* always */
#define MULLO_DC_THRESHOLD 62
#define MULLO_MUL_N_THRESHOLD 8648
#define DC_DIV_QR_THRESHOLD 51
#define DC_DIVAPPR_Q_THRESHOLD 166
#define DC_BDIV_QR_THRESHOLD 46
#define DC_BDIV_Q_THRESHOLD 102
#define INV_MULMOD_BNM1_THRESHOLD 46
#define INV_NEWTON_THRESHOLD 167
#define INV_APPR_THRESHOLD 170
#define BINV_NEWTON_THRESHOLD 224
#define REDC_1_TO_REDC_2_THRESHOLD 32
#define REDC_2_TO_REDC_N_THRESHOLD 55
#define MU_DIV_QR_THRESHOLD 1387
#define MU_DIVAPPR_Q_THRESHOLD 1387
#define MUPI_DIV_QR_THRESHOLD 78
#define MU_BDIV_QR_THRESHOLD 1187
#define MU_BDIV_Q_THRESHOLD 1334
#define POWM_SEC_TABLE 1,16,191,452,642,2825
#define MATRIX22_STRASSEN_THRESHOLD 17
#define HGCD_THRESHOLD speed_measure() could not get 4
results within 1.0%
unsorted sorted
0.000000398629 0.000000195802 is about 0.5%
0.000039863 0.000019580
0.000035335 0.000019680
0.000031865 0.000019783
0.000028900 0.000019803
0.000026303 0.000019910
0.000025178 0.000020038
0.000024250 0.000020128
0.000023575 0.000020218
0.000022965 0.000020445
0.000022518 0.000020625
0.000022220 0.000020698
0.000021945 0.000020828
0.000021683 0.000020900
0.000021435 0.000020973
0.000021355 0.000021130
0.000021130 0.000021355
0.000020973 0.000021435
0.000020900 0.000021683
0.000020828 0.000021945
0.000020625 0.000022220
0.000020698 0.000022518
0.000020445 0.000022965
0.000020218 0.000023575
0.000020128 0.000024250
0.000020038 0.000025178
0.000019803 0.000026303
0.000019910 0.000028900
0.000019783 0.000031865
0.000019580 0.000035335
0.000019680 0.000039863
Aborted
--
Eric Benton
Olympia WA
KG7RYU
Buy a man a beer and he will waste an hour.......
Teach that man how to brew beer and he will waste a lifetime.
You're a funny guy Sully, I like you. That's why I'm going to kill you last.
Turkey Creek Jack Johnson: Nobody move!
Doc Holliday: Nonsense. By all means, move.
More information about the gmp-bugs
mailing list