add Berkeley specific copyright notice
[unix-history] / usr / src / sys / tahoe / align / Aaddf.c
CommitLineData
7c27088c
KB
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 * @(#)Aaddf.c 7.1 (Berkeley) %G%
11 */
90b9b02e 12
6499767c 13#include "align.h"
90b9b02e
SL
14addf(infop) process_info *infop;
15/*
16/* Add operand with accumulator to accumulator (float).
17/*
18/*************************************************************/
19{
20 register float *operand_pnt;
21 register float *acc_pnt;
22
23 operand_pnt = (float *)&operand(infop,0)->data;
24 acc_pnt = (float *) &acc_high;
25 *acc_pnt = *acc_pnt + *operand_pnt;
26}