From owner-freebsd-current@FreeBSD.ORG Wed Nov 6 19:18:42 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02534A8B for ; Wed, 6 Nov 2013 19:18:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C11C4265C for ; Wed, 6 Nov 2013 19:18:41 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A3364B9C0; Wed, 6 Nov 2013 14:18:40 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Subject: Re: Add description for some cpuid bits Date: Wed, 6 Nov 2013 12:30:05 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201311061230.05865.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 06 Nov 2013 14:18:40 -0500 (EST) Cc: Dmitry Luhtionov X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 19:18:42 -0000 On Wednesday, November 06, 2013 4:12:24 am Dmitry Luhtionov wrote: > --- /usr/src/sys/amd64//amd64/identcpu.c.orig 2013-11-01 > 14:43:15.000000000 +0200 > +++ /usr/src/sys/amd64//amd64/identcpu.c 2013-11-04 12:06:06.000000000 > +0200 > @@ -366,14 +366,14 @@ > "\017" > "\020LWP" /* Lightweight Profiling */ > "\021FMA4" /* 4-operand FMA instructions */ > - "\022" > + "\022TCE" /* Translation Cache Extension */ > "\023" > "\024NodeId" /* NodeId MSR support */ > "\025" > "\026TBM" /* Trailing Bit Manipulation */ > "\027Topology" /* Topology Extensions */ > - "\030" > - "\031" > + "\030PCXC" /* Core performance counter extensions */ > + "\031PNXC" /* NB performance counter extensions */ > "\032" > "\033" > "\034" It would be best to also add flags for these in specialreg.h as well. The i386 identcpu.c might also need updating. -- John Baldwin