bug in speed

Paul Zimmermann Paul.Zimmermann at loria.fr
Mon Jan 11 17:36:20 CET 2010


       Hi,

I agree this is a degenerate case:

   achille% ./speed -s 1 mpn_dcpi1_divappr_q
   overhead 0.000000003 secs, precision 10000 units of 4.17e-10 secs, CPU freq 2400.00 MHz
	   mpn_dcpi1_divappr_q
   Segmentation fault (core dumped)

but for other functions it "works":

   achille% ./speed -s 1 mpn_mu_div_qr
   overhead 0.000000003 secs, precision 10000 units of 4.17e-10 secs, CPU freq 2400.00 MHz
	   mpn_mu_div_qr
   1                 n/a

Consider also:

   achille% ./speed -s 2 mpn_dcpi1_divappr_q
   overhead 0.000000003 secs, precision 10000 units of 4.17e-10 secs, CPU freq 2400.00 MHz
	   mpn_dcpi1_divappr_q
   sbpi1_divappr_q.c:185: GNU MP assertion failed: np[1] == n1
   Abort (core dumped)

Paul


More information about the gmp-bugs mailing list