153438Sbostic /*- 253438Sbostic * Copyright (c) 1992 The Regents of the University of California. 353438Sbostic * All rights reserved. 453438Sbostic * 5*53794Sbostic * This software was developed by the Computer Systems Engineering group 6*53794Sbostic * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7*53794Sbostic * contributed to Berkeley. 8*53794Sbostic * 953438Sbostic * %sccs.include.redist.c% 1053438Sbostic */ 1153438Sbostic 1253438Sbostic #if defined(LIBC_SCCS) && !defined(lint) 13*53794Sbostic static char sccsid[] = "@(#)iordi3.c 5.3 (Berkeley) 06/02/92"; 1453438Sbostic #endif /* LIBC_SCCS and not lint */ 1553438Sbostic 16*53794Sbostic #include "quad.h" 1753459Sbostic 18*53794Sbostic /* 19*53794Sbostic * Return a | b, in quad. 20*53794Sbostic */ 21*53794Sbostic quad 22*53794Sbostic __iordi3(quad a, quad b) 2353438Sbostic { 24*53794Sbostic union uu aa, bb; 2553438Sbostic 26*53794Sbostic aa.q = a; 27*53794Sbostic bb.q = b; 28*53794Sbostic aa.ul[0] |= bb.ul[0]; 29*53794Sbostic aa.ul[1] |= bb.ul[1]; 30*53794Sbostic return (aa.q); 3153438Sbostic } 32