/* $NetBSD: mpys.c,v 1.5 2012/02/04 17:03:10 skrll Exp $ */ /* $OpenBSD: mpys.c,v 1.5 2001/03/29 03:58:19 mickey Exp $ */ /* * Copyright 1996 1995 by Open Software Foundation, Inc. * All Rights Reserved * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appears in all copies and * that both the copyright notice and this permission notice appear in * supporting documentation. * * OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE. * * IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT, * NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * */ /* * pmk1.1 */ /* * (c) Copyright 1986 HEWLETT-PACKARD COMPANY * * To anyone who acknowledges that this file is provided "AS IS" * without any express or implied warranty: * permission to use, copy, modify, and distribute this file * for any purpose is hereby granted without fee, provided that * the above copyright notice and this notice appears in all * copies, and that the name of Hewlett-Packard Company not be * used in advertising or publicity pertaining to distribution * of the software without specific, written prior permission. * Hewlett-Packard Company makes no representations about the * suitability of this software for any purpose. */ #include __KERNEL_RCSID(0, "$NetBSD: mpys.c,v 1.5 2012/02/04 17:03:10 skrll Exp $"); #include "md.h" void mpys(int opnd1, int opnd2, struct mdsfu_register *result) { impys(&opnd1,&opnd2,result); /* determine overflow status */ if ((result_hi == 0 && result_lo >= 0) || (result_hi == -1 && result_lo < 0)) overflow = false; else overflow = true; return; } ='nohover'>AgeCommit message (Expand)Author 2020-04-25Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVMbouyer 2019-09-27Remove libelf from "usr" list. Deleted 2015-09-30.bad 2019-09-27Exclude sys/external/{gpl2/dts,bsd/drm*}.bad 2019-09-26rtadvd needs expandm.[hc] from libwrap.bad 2019-09-26revert r1.35-r1.40 of sys/rump/listsrcdirs.bad 2019-09-12typo: ARCH_EXTRA -> ARCHS_EXTRAbad 2019-09-12Add ews4800mips and sh3 heads only listed in src/tools/Makefile.nbincludes.bad 2019-09-12Make include_headerlist ignore files in already exported directories.bad 2019-09-12Summary: export the files from headerlist before the ARCHS's includes.bad 2019-09-12Summary: add the files from src/tools/headerlist to the output.bad 2019-09-12Summary: pax needs pack_dev.h from mknod. move mknod to sys sourcesbad 2019-09-12Summary: ammend previous. remove pax from userspace sources.bad 2019-09-12Summary: add grep and stat.bad 2019-09-11add src/external/public-domain/xz.bad 2019-02-17npfctl needs externalbsd/libnv.bad 2018-04-01Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)ryo 2015-07-07Add uname to rump sourcesjustin 2015-06-29add brconfig to userland utilspooka 2015-06-15add mixerctl to userland utilspooka 2015-04-25Add libkvm to list of userspace libraries.pooka 2015-04-17include sockstat in list of utilitiespooka 2015-03-07Add risc-v to checked out rump architecturesjustin 2015-02-13add libc++pooka 2015-02-08Add rtadvd to rump user sourcesjustin 2014-12-24Add fdisk to rump listsrcdirsjustin 2014-12-23Add mdconfig to rump listsrcdirsjustin 2014-12-10include lib/i18n_module in user sourcespooka 2014-12-05Add genassympooka 2014-10-29Add libelf to rump directoriesjustin 2014-10-29Perform internal consistency check automatically.pooka 2014-10-29Revert, zfs was already elsewhere in listjustin 2014-10-29Add zfs files to rump userspace sourcesjustin 2014-08-11Add aarch64 to rump srcdirsjustin 2014-07-09Make the file system utility list consistent between fsck, mount and newfs.pooka 2014-07-09split "sys" further into "sys" and "posix", per comments from justinpooka 2014-07-08In addition to kernel/tools sources, include another selection of sourcespooka 2014-06-15Add cat, rpcgen and stat to TOOLS_BUILDRUMP. They're useful forpooka 2014-02-24+rump_wmdpooka 2013-12-20include shmif_dumpbuspooka 2013-10-29Add MIPS. Requested by Justin Cormack.pooka 2013-10-29Maintain arch list in a separate variable.pooka 2013-09-19Pull in all of sys/dev (i.e. don't skip pci/ and microcode/).pooka 2013-09-10+rump_serverpooka 2013-08-12building ARM rump kernels now requires sys/arch/arm/arm32pooka 2013-08-11Include powerpc+evbpcc. Allows the buildrump.sh checkout to work onpooka 2013-07-30Include Makefiles under sys/arch.pooka 2013-03-18add librumphijack to the listpooka 2013-03-10Add -c, which produces cvs syntax output for the necessary subsetpooka 2013-03-10Avoid dependency on curlybrace expansion.pooka 2013-02-13Move the list of source directories required by TOOLS_BUILDRUMP=yes frompooka