#14098: zn_poly-0.9.p9 fails at least one its tests on power7
---------------------------+------------------------------------------------
Reporter: fbissey | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-5.7
Component: porting | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------+------------------------------------------------
Comment (by fbissey):
I can say it worked nicely, so I'll prepare a new spkg with it so this
kind of thing cannot happen again. I think I found out what happened and
made thing different. In the original build I used gcc-4.7.1, this build
the compiler was gcc shipped with the distro gcc-4.3.4. There could be
some subtle bugs lurking in gcc itself or the standard used to compile the
tuning code.
{{{
#include "zn_poly_internal.h"
size_t ZNP_mpn_smp_kara_thresh = SIZE_MAX;
size_t ZNP_mpn_mulmid_fallback_thresh = SIZE_MAX;
tuning_info_t tuning_info[] =
{
{ // bits = 0
},
{ // bits = 1
},
{ // bits = 2
94, // KS1 -> KS2 multiplication threshold
SIZE_MAX, // KS2 -> KS4 multiplication threshold
SIZE_MAX, // KS4 -> FFT multiplication threshold
218, // KS1 -> KS2 squaring threshold
SIZE_MAX, // KS2 -> KS4 squaring threshold
SIZE_MAX, // KS4 -> FFT squaring threshold
216, // KS1 -> KS2 middle product threshold
SIZE_MAX, // KS2 -> KS4 middle product threshold
SIZE_MAX, // KS4 -> FFT middle product threshold
1000, // nussbaumer multiplication threshold
1000 // nussbaumer squaring threshold
},
{ // bits = 3
107, // KS1 -> KS2 multiplication threshold
SIZE_MAX, // KS2 -> KS4 multiplication threshold
SIZE_MAX, // KS4 -> FFT multiplication threshold
167, // KS1 -> KS2 squaring threshold
SIZE_MAX, // KS2 -> KS4 squaring threshold
SIZE_MAX, // KS4 -> FFT squaring threshold
146, // KS1 -> KS2 middle product threshold
6889, // KS2 -> KS4 middle product threshold
SIZE_MAX, // KS4 -> FFT middle product threshold
1000, // nussbaumer multiplication threshold
1000 // nussbaumer squaring threshold
},
{ // bits = 4
68, // KS1 -> KS2 multiplication threshold
SIZE_MAX, // KS2 -> KS4 multiplication threshold
SIZE_MAX, // KS4 -> FFT multiplication threshold
187, // KS1 -> KS2 squaring threshold
SIZE_MAX, // KS2 -> KS4 squaring threshold
SIZE_MAX, // KS4 -> FFT squaring threshold
95, // KS1 -> KS2 middle product threshold
7367, // KS2 -> KS4 middle product threshold
SIZE_MAX, // KS4 -> FFT middle product threshold
1000, // nussbaumer multiplication threshold
1000 // nussbaumer squaring threshold
},
{ // bits = 5
60, // KS1 -> KS2 multiplication threshold
18841, // KS2 -> KS4 multiplication threshold
SIZE_MAX, // KS4 -> FFT multiplication threshold
192, // KS1 -> KS2 squaring threshold
SIZE_MAX, // KS2 -> KS4 squaring threshold
SIZE_MAX, // KS4 -> FFT squaring threshold
128, // KS1 -> KS2 middle product threshold
5037, // KS2 -> KS4 middle product threshold
SIZE_MAX, // KS4 -> FFT middle product threshold
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14098#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.