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

1.1       root        1: 
                      2: #include "../machine/alignment.h" 
                      3: 
                      4: shll(infop)    process_info *infop;
                      5: /*
                      6: /*     Shift logical left (longword).
                      7: /*     Checks for overflow.
                      8: /*
                      9: /*******************************/
                     10: {
                     11:        register        long    Register_12;    /* Has to be first reg ! */
                     12:        register        long    Register_11;
                     13:        register        long    Register_10;
                     14:        
                     15:        Register_12 = operand(infop,0)->data;
                     16:        Register_11 = operand(infop,1)->data;
                     17:        Register_10 = psl;
                     18:        Set_psl(r10);   /*save the orig CC bits of the psl */
                     19:        asm("   shll    r12,r11,r10");
                     20:        asm("   movpsl  r12");
                     21:        New_cc (Register_12);
                     22:        write_back (infop, Register_10, operand(infop,2));
                     23: }

unix.superglobalmegacorp.com

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