From owner-freebsd-bugs Wed Jun 12 20: 0:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 25AC137B40B for ; Wed, 12 Jun 2002 20:00:15 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5D30FH75461; Wed, 12 Jun 2002 20:00:15 -0700 (PDT) (envelope-from gnats) Date: Wed, 12 Jun 2002 20:00:15 -0700 (PDT) Message-Id: <200206130300.g5D30FH75461@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: kern/38170: fpgetmask, fpsetmask yield strange results Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/38170; it has been noted by GNATS. From: Bruce Evans To: Andreas Haakh Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/38170: fpgetmask, fpsetmask yield strange results Date: Thu, 13 Jun 2002 12:57:19 +1000 (EST) On Wed, 12 Jun 2002, Andreas Haakh wrote: > From: "Bruce Evans" > > fpsetmask() is fixed in -current. The complement of the mask (ANDed with > > the mask bitfield) was being returned. The other routines seem to be OK. > > Is it already MFC'd or when will this happen? MFC scheduled after 4 weeks. > There should be a note in fpsetask(3) that FP_X_STK is reserved... It's read-only, but very unportable. Most of and hould be undocumented and replaced by the C99 feset*(). There is nothing standard to replace fp{get,set}mask() since setting masks is unportable, so FreeBSD will need unportable extensions. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message