|
|
1.1 ! root 1: #include "../machine/alignment.h" ! 2: cmpf(infop) process_info *infop; ! 3: /* ! 4: /* Compare accumulator (float) with operand. ! 5: /* ! 6: /*************************************************/ ! 7: { ! 8: register float *Register_12; /* Has to be first reg ! */ ! 9: register float *Register_11; ! 10: register long Register_10; ! 11: ! 12: Register_12 = (float *) &acc_high; ! 13: Register_11 = (float *) &operand(infop,0)->data; ! 14: if ( reserved( *(long *)Register_11 ) ) ! 15: exception(infop, ILL_OPRND); ! 16: asm (" ldf (r12)"); ! 17: Register_10=psl; ! 18: Set_psl(r10); /* restore the user psl */ ! 19: asm (" cmpf (r11)"); ! 20: asm (" movpsl r10"); ! 21: New_cc (Register_10); ! 22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.