bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'make check' problem with 4.2 release candidate and custom gmp-mparam.h


From: Maxime KAISER
Subject: 'make check' problem with 4.2 release candidate and custom gmp-mparam.h
Date: Tue, 21 Mar 2006 15:27:59 -0800 (PST)

Hi

I've got an error while doing a 'make check' (after a successfull configure and make) with GMP 4.2 release candidate. The following tests fail :
FAIL: t-mul
FAIL: t-sqrtrem
FAIL: convert
FAIL: t-powm
FAIL: t-powm_ui
FAIL: t-pow
FAIL: reuse
FAIL: t-root
FAIL: t-jac
FAIL: t-fac_ui

The error ONLY occurs with a custom gmp-mparam.h (everything work fine with the supplied gmp-mparam.h in mpn/x86/p6/mmx) Here is the file I use :
////////////////////////////////////////////////////////////////////////////////////////////////
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4

/* Generated by tuneup.c, 2006-03-22, gcc 3.3 */

#define MUL_KARATSUBA_THRESHOLD          22
#define MUL_TOOM3_THRESHOLD              77

#define SQR_BASECASE_THRESHOLD            0  /* always (native) */
#define SQR_KARATSUBA_THRESHOLD          46
#define SQR_TOOM3_THRESHOLD              87

#define MULLOW_BASECASE_THRESHOLD         8
#define MULLOW_DC_THRESHOLD              64
#define MULLOW_MUL_N_THRESHOLD          410

#define DIV_SB_PREINV_THRESHOLD           5
#define DIV_DC_THRESHOLD                 72
#define POWM_THRESHOLD                   85

#define GCD_ACCEL_THRESHOLD               3
#define GCDEXT_THRESHOLD                 38
#define JACOBI_BASE_METHOD                1

#define USE_PREINV_DIVREM_1               1  /* native */
#define USE_PREINV_MOD_1                  1  /* native */
#define DIVREM_2_THRESHOLD                0  /* always */
#define DIVEXACT_1_THRESHOLD              0  /* always (native) */
#define MODEXACT_1_ODD_THRESHOLD          0  /* always (native) */

#define GET_STR_DC_THRESHOLD             22
#define GET_STR_PRECOMPUTE_THRESHOLD     33
#define SET_STR_THRESHOLD              3625

#define MUL_FFT_TABLE  { 528, 928, 1920, 4608, 14336, 57344, 0 }
#define MUL_FFT_MODF_THRESHOLD          544
#define MUL_FFT_THRESHOLD              5888

#define SQR_FFT_TABLE  { 560, 928, 1920, 5632, 18432, 40960, 0 }
#define SQR_FFT_MODF_THRESHOLD          576
#define SQR_FFT_THRESHOLD              3840

/* Tuneup completed successfully, took 18 seconds */
////////////////////////////////////////////////////////////////////////////////////////////////

The computer I use is an xbox (pentium3) running xebian-1.1.0.
$> config.guess
pentium3-pc-linux-gnu
$> ./configfsf.guess
i686-pc-linux-gnu
$> gcc --version
gcc (GCC) 3.3.4 (Debian 1:3.3.4-13)
$> uname -a
Linux xebian.localdomain.local 2.4.27 #1 Sun Sep 19 13:49:13 CEST 2004 i686 GNU/Linux

Please let me know if you need more information.

Regards
Maxime Kaiser


Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]