File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / sys / tahoe / Acvld.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:30:07 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v121, HEAD
Power 6/32 Unix version 1.21

#include "../machine/alignment.h"
cvld(infop)	process_info *infop;
/*
/*	Convert integer to double (into accumulator).
/*
/******************************************************/
{
	register	long	Register_12;	/* Has to be first reg ! */
	register	double	*Register_11;
	register	long	Register_10;

	Register_11 = (double *) &acc_high;
	Register_10 = operand(infop,0)->data;
	Register_12=psl;
	Set_psl(r12);	/* restore the user psl */
	asm ("	cvld	r10");		/* Don't change the order !! */
	asm ("	movpsl	r12");
	asm ("	std	(r11)");
	New_cc (Register_12);
}

unix.superglobalmegacorp.com

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