From owner-cvs-src@FreeBSD.ORG Fri Mar 18 05:52:12 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 9CF1F16A4CF; Fri, 18 Mar 2005 05:52:12 +0000 (GMT) Date: Fri, 18 Mar 2005 05:52:12 +0000 From: Alexey Dokuchaev To: David Schultz Message-ID: <20050318055212.GA70385@FreeBSD.org> References: <200503172221.j2HMLkfq017761@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200503172221.j2HMLkfq017761@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/msun/i387 fenv.c fenv.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 05:52:12 -0000 On Thu, Mar 17, 2005 at 10:21:46PM +0000, David Schultz wrote: > das 2005-03-17 22:21:46 UTC > > FreeBSD src repository > > Modified files: > lib/msun/i387 fenv.c fenv.h > Log: > Make the fenv.h routines work for programs that use SSE for > floating-point arithmetic on i386. Now I'm going to make excuses > for why this code is kinda scary: > > - To avoid breaking the ABI with 5.3-RELEASE, we can't change > sizeof(fenv_t). I stuck the saved mxcsr in some discontiguous > reserved bits in the existing structure. Why do you care about ABI compatibility between 6-CURRENT and 5.3-RELEASE? If you plan to MFC this code at some point, you could use your current approach in RELENG_5. This would, of course, mean you'd have to maintain two different code sets, but still. ./danfe