xref: /original-bsd/sys/tahoe/align/Astf.c (revision baf24c0d)
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  *	@(#)Astf.c	7.1 (Berkeley) 12/06/90
11  */
12 
13 #include "align.h"
14 stf(infop)	process_info *infop;
15 /*
16 /*	Store accumulator (float) in destination.
17 /*
18 /*************************************************/
19 {
20 
21 	write_back (infop, acc_high, operand(infop,0) );
22 	if (acc_high < 0) negative_1; else negative_0;
23 	if ( (acc_high & 0xff800000) == 0 ) zero_1; else zero_0;
24 	carry_1; overflow_0;
25 }
26