From owner-svn-src-all@FreeBSD.ORG Wed Mar 16 17:45:57 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 552A9106564A; Wed, 16 Mar 2011 17:45:57 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 05FE78FC0C; Wed, 16 Mar 2011 17:45:56 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E234D9CB125; Wed, 16 Mar 2011 18:45:54 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zc-hCLUNgAPk; Wed, 16 Mar 2011 18:45:54 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EF61F9CB1B7; Wed, 16 Mar 2011 18:45:53 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id p2GHjrvH006913; Wed, 16 Mar 2011 18:45:53 +0100 (CET) (envelope-from rdivacky) Date: Wed, 16 Mar 2011 18:45:53 +0100 From: Roman Divacky To: Jung-uk Kim Message-ID: <20110316174553.GA6367@freebsd.org> References: <201103152145.p2FLjAlt060256@svn.freebsd.org> <20110316004503.GM99496@mdounin.ru> <201103161233.16347.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201103161233.16347.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Maxim Dounin Subject: Re: svn commit: r219679 - head/sys/i386/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 16 Mar 2011 17:45:57 -0000 On Wed, Mar 16, 2011 at 12:32:56PM -0400, Jung-uk Kim wrote: > On Tuesday 15 March 2011 08:45 pm, Maxim Dounin wrote: > > This isn't really different as long as GENERIC kernel used, as > > GENERIC defines I486_CPU. > > Fixed in r219698, sorry. > > Actually, I think we should remove i486 from GENERIC at some point. > It has too many limitations. For example, I really love to implement > atomic 64-bit mem read/write using cmpxchg8b (no 0xf00f joke, please) > but I cannot do that cleanly without removing I486 support or > checking cpu_class at run-time. :-( if we drop i486 I think it makes sense to require something that has at least SSE2, thus we can have the same expectations as on amd64. and we can use sse2 unconditionally (str*, mem* etc.)