#13376: Optional SPKG for SmallJac
----------------------------------------------------+-----------------------
       Reporter:  pavpanchekha                      |         Owner:  tbd       
     
           Type:  enhancement                       |        Status:  
needs_work     
       Priority:  major                             |     Milestone:            
     
      Component:  optional packages                 |    Resolution:            
     
       Keywords:                                    |   Work issues:            
     
Report Upstream:  N/A                               |     Reviewers:  R. Andrew 
Ohana
        Authors:  Pavel Panchekha, Drew Sutherland  |     Merged in:            
     
   Dependencies:                                    |      Stopgaps:            
     
----------------------------------------------------+-----------------------

Comment (by leif):

 W.r.t. the inline assembly:  It shouldn't be too hard to port it to
 non-x86_64 systems (probably by using potentially slow[er] C
 implementations -- at the risk of making !SmallJac slower than other
 implementations in Sage).  (Most of the assembly, i.e., macros and inline
 functions using `asm()`, is in `ff_poly-*/src/asm.h`; `cstd.h` also uses
 `asm()` in two places, for the mentioned "high bit" and "low bit" inline
 functions.  For the latter two, one could presumably use GCC's more
 portable `__builtin_*` -- at low or no expense -- as well.)

 Unfortunately AFAICS the code also implicitly assumes that
 `sizeof(unsigned long)==8` (instead of using `uint64_t` where
 appropriate), which makes it pretty hard to port it to 32-bit systems (or
 other systems on which that assumption is false).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13376#comment:16>
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.


Reply via email to