#13588: libGAP! -- create a Cython library interface to gap
----------------------------------+-----------------------------------------
       Reporter:  vbraun          |         Owner:  joyner           
           Type:  enhancement     |        Status:  needs_work       
       Priority:  major           |     Milestone:  sage-5.7         
      Component:  group theory    |    Resolution:                   
       Keywords:                  |   Work issues:                   
Report Upstream:  N/A             |     Reviewers:  Dmitrii Pasechnik
        Authors:  Volker Braun    |     Merged in:                   
   Dependencies:  #13211, #13880  |      Stopgaps:                   
----------------------------------+-----------------------------------------

Comment (by vbraun):

 Thanks. I've added it to the symbol rewriting code in the `make_spkg.sh`
 script.
 {{{
 #ifdef SPARC
 #if SPARC
         asm("           .globl  SparcStackFuncBags              ");
         asm("   SparcStackFuncBags:                             ");
         asm("           ta      0x3     ! ST_FLUSH_WINDOWS      ");
         asm("           mov     %sp,%o0                         ");
         asm("           retl                                    ");
         asm("           nop                                     ");
 #endif
 #endif

 /* sunos */
 #ifdef SPARC
 #if SPARC
         asm("           .globl  _SparcStackFuncBags             ");
         asm("   _SparcStackFuncBags:                            ");
         asm("           ta      0x3     ! ST_FLUSH_WINDOWS      ");
         asm("           mov     %sp,%o0                         ");
         asm("           retl                                    ");
         asm("           nop                                     ");
 #endif
 #endif
 #else
 #if defined(SPARC) && SPARC
 void SparcStackFuncBags( void )
 {
   asm (" ta 0x3 ");
   asm (" mov %sp,%o0" );
   return;
 }
 #endif
 }}}
 I presume the offending code has grown organically over the decades...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13588#comment:56>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to