Received: by mail.netbsd.org (Postfix, from userid 605) id 1983384EA2; Thu, 22 Jul 2021 01:39:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4BC9584E9D for ; Thu, 22 Jul 2021 01:39:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id sAUWHikW56L1 for ; Thu, 22 Jul 2021 01:39:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D5DE484D0E for ; Thu, 22 Jul 2021 01:39:18 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D2E56FA95; Thu, 22 Jul 2021 01:39:18 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 22 Jul 2021 01:39:18 +0000 From: "Jason R Thorpe" Subject: CVS commit: src/sys/arch/alpha To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210722013918.D2E56FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jason R Thorpe" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: thorpej Date: Thu Jul 22 01:39:18 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: fp_complete.c machdep.c src/sys/arch/alpha/include: cpu.h fpu.h Log Message: Various minor cleanups and bug fixes to the FP software completion code: - Use __CTASSERT() instead of rolling our own compile-time assertion using cpp. - Use __BIT() &c instead of rolling our own. - Improve some comments. - Define a default FP_C and FPCR value that is self-consistent, and initialize it properly at process creation time. - Fix signal information when the trap shadow cannot be resolved. - Use defined constants rather than magic numbers for the exception summary bits. - Add a machdep sysctl to enable FP software-completion debugging. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/alpha/alpha/fp_complete.c cvs rdiff -u -r1.374 -r1.375 src/sys/arch/alpha/alpha/machdep.c cvs rdiff -u -r1.102 -r1.103 src/sys/arch/alpha/include/cpu.h cvs rdiff -u -r1.7 -r1.8 src/sys/arch/alpha/include/fpu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.