File:  [CSRG BSD Unix] / 43BSDTahoe / sys / tahoealign / Acvdl.c
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

/*	Acvdl.c	1.1	86/07/20	*/

#include "../tahoealign/align.h"
cvdl(infop)	process_info *infop;
/*
/*	Convert double precission accumulator into integer.
/*
/******************************************************/
{
	register	long	Register_12;	/* Has to be first reg ! */
	register	double	*acc_pnt;
	register	long	result;

	acc_pnt = (double *)&acc_high;
	Register_12=psl;
	Set_psl(r12);	/* restore the user psl */
	result = (long) *acc_pnt;
	asm ("	movpsl	r12");
	New_cc (Register_12);
	write_back (infop, result, operand(infop,0) );
}

unix.superglobalmegacorp.com

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