xref: /original-bsd/sys/tahoe/align/Aldfd.c (revision c8876cb1)
1 /*-
2  * Copyright (c) 1986 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Computer Consoles Inc.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)Aldfd.c	7.1 (Berkeley) 12/06/90
11  */
12 
13 #include "align.h"
14 ldfd(infop)	process_info *infop;
15 /*
16 /*	Load into accumulator float operand converted to double.
17 /*
18 /***************************************************************/
19 {
20 	register struct oprnd *oprnd_pnt;
21 
22 	oprnd_pnt = operand(infop,0);
23 	if ( reserved( oprnd_pnt->data ) )
24 		exception(infop, ILL_OPRND);
25 	acc_high = oprnd_pnt->data ;
26 	acc_low = 0;
27 	psl |= PSL_DBL;
28 	infop->acc_dbl = 1;
29 }
30