From owner-cvs-all@FreeBSD.ORG Sat Aug 9 10:07:25 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B163137B401; Sat, 9 Aug 2003 10:07:25 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22BEE43FE3; Sat, 9 Aug 2003 10:07:25 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h79H7O0U034910; Sat, 9 Aug 2003 10:07:24 -0700 (PDT) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h79H7Oi8034909; Sat, 9 Aug 2003 10:07:24 -0700 (PDT) Message-Id: <200308091707.h79H7Oi8034909@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 9 Aug 2003 10:07:24 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/ia64/gen fpgetmask.c fpsetmask.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 17:07:26 -0000 marcel 2003/08/09 10:07:24 PDT FreeBSD src repository Modified files: lib/libc/ia64/gen fpgetmask.c fpsetmask.c Log: o There are 6 trap disable bits in ar.fpsr, not five. Even though we didn't provide a constant for one of them (non-IEEE denormal trap), in an attempt to not support it probably, it's not we are left with the lower 5 bits. o Properly mask the passed or returned fp_except_t. Not doing so causes instant core dumps by trying to write an invalid value to ar.fpsr. Now that we're masking, stop using exclusive-or to invert bits. This fixes the illegal instruction fault encountered when building mozilla. Revision Changes Path 1.3 +1 -1 src/lib/libc/ia64/gen/fpgetmask.c 1.3 +3 -3 src/lib/libc/ia64/gen/fpsetmask.c