From owner-svn-src-all@freebsd.org Fri Feb 24 17:57:31 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A165DCEBA4E; Fri, 24 Feb 2017 17:57:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C873B9E; Fri, 24 Feb 2017 17:57:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 2C68210A7B9; Fri, 24 Feb 2017 12:57:29 -0500 (EST) From: John Baldwin To: Konstantin Belousov Cc: "Rodney W. Grimes" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: Re: svn commit: r314210 - in stable/11/sys: conf i386/conf i386/i386 i386/include i386/isa i386/linux x86/acpica x86/x86 Date: Fri, 24 Feb 2017 09:56:03 -0800 Message-ID: <2826708.tPzGBbFfxk@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.0-STABLE; KDE/4.14.10; amd64; ; ) In-Reply-To: <20170224171405.GX2092@kib.kiev.ua> References: <201702241602.v1OG21SM034524@repo.freebsd.org> <201702241653.v1OGrRTJ028384@pdx.rh.CN85.dnsmgr.net> <20170224171405.GX2092@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Fri, 24 Feb 2017 12:57:29 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2017 17:57:31 -0000 On Friday, February 24, 2017 07:14:05 PM Konstantin Belousov wrote: > On Fri, Feb 24, 2017 at 08:53:27AM -0800, Rodney W. Grimes wrote: > > > Author: kib > > > Date: Fri Feb 24 16:02:01 2017 > > > New Revision: 314210 > > > URL: https://svnweb.freebsd.org/changeset/base/314210 > > > > > > Log: > > > MFC r313154: > > > For i386, remove config options CPU_DISABLE_CMPXCHG, CPU_DISABLE_SSE > > > and device npx. > > > > Um, why????? Makes it much easier to test soft float if we can remove > > the npx device. Or has soft float support died yet again? > Soft float was removed very long time ago. I think it was gone in 5.0. > > Yes, an i386 without an FPU is anchient by why are we removing working > > functionality? > This question makes an impression that you think that kernel would not > boot on a machine without FPU. The code to tolerate such configuration > is there, but it is not tested for obvious reasons. > > Completely different issue is that userspace requires FPU and e.g. /bin/sh > traps on the next setjmp(3) call. > > Also, we do not run on real 386, only on 486+, and there was probably only > Intel 486SX CPU model which has all 486 features but no FPU. Yes, we effectively require an FPU on i386. I'd be tempted to start requiring a built-in FPU (so INT 16 vs IRQ 13) so we could further reduce diffs with amd64 and eventually have an "x86" fpu.c. That would only drop support for systems using a 486sx with an external FPU. Those systems are probably happier running FreeBSD 4.x than 12 anyway. -- John Baldwin