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 * @(#)Aaddd.c 7.1 (Berkeley) 12/06/90 11 */ 12 13 #include "align.h" 14 15 addd(infop) process_info *infop; 16 /* 17 /* Add operand with accumulator to accumulator (double). 18 /* 19 /*************************************************************/ 20 { 21 register double *operand_pnt; 22 register double *acc_pnt; 23 24 operand_pnt = (double *)&operand(infop,0)->data; 25 acc_pnt = (double *) &acc_high; 26 *acc_pnt = *acc_pnt + *operand_pnt; 27 } 28 29