Annotation of cci/sys/tahoe/Acvfl.c, revision 1.1

1.1     ! root        1: #include "../machine/alignment.h"
        !             2: cvfl(infop)    process_info *infop;
        !             3: /*
        !             4: /*     Convert single precission accumulator into integer.
        !             5: /*
        !             6: /******************************************************/
        !             7: {
        !             8:        register        long    Register_12;    /* Has to be first reg ! */
        !             9:        register        float   *acc_pnt;
        !            10:        register        long    result;
        !            11: 
        !            12:        acc_pnt = (float *)&acc_high;
        !            13:        Register_12=psl;
        !            14:        Set_psl(r12);   /* restore the user psl */
        !            15:        result = (long) *acc_pnt;
        !            16:        asm ("  movpsl  r12");
        !            17:        New_cc (Register_12);
        !            18:        write_back (infop, result, operand(infop,0) );
        !            19: }

unix.superglobalmegacorp.com

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