Annotation of cci/sys/tahoe/Amull2.c, revision 1.1.1.1

1.1       root        1: #include "../machine/alignment.h" 
                      2: int    zzz1,zzz2,zzz3,zzz4,zzz5;
                      3: mull2(infop)   process_info *infop;
                      4: /*
                      5: /*     Multiply longwords, 2 operands.
                      6: /*
                      7: /*****************************************/
                      8: {
                      9:        register        long    Register_12;    /* Has to be first reg ! */
                     10:        register        long    result, data0, data1;
                     11: 
                     12:        data0 = operand(infop,0)->data; 
                     13:        data1 = operand(infop,1)->data; 
                     14:        Register_12=psl;
                     15:        Set_psl(r12);   /* restore the user psl */
                     16:        result = data0 * data1;
                     17:        asm("movpsl     r12");
                     18:        New_cc (Register_12);
                     19:        write_back (infop,result, operand(infop,1) );
                     20: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.