Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 12:30:05 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Dmitry Luhtionov <dmitryluhtionov@gmail.com>
Subject:   Re: Add description for some cpuid bits
Message-ID:  <201311061230.05865.jhb@freebsd.org>
In-Reply-To: <CAAYMRQd9CEMpBuTmBHRGQcxkjWtHzcirryKMROdenT0ESzd=9Q@mail.gmail.com>
References:  <CAAYMRQd9CEMpBuTmBHRGQcxkjWtHzcirryKMROdenT0ESzd=9Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<b14>"
>                  "\020LWP"    /* Lightweight Profiling */
>                  "\021FMA4"    /* 4-operand FMA instructions */
> -                "\022<b17>"
> +                "\022TCE"    /* Translation Cache Extension */
>                  "\023<b18>"
>                  "\024NodeId"    /* NodeId MSR support */
>                  "\025<b20>"
>                  "\026TBM"    /* Trailing Bit Manipulation */
>                  "\027Topology"    /* Topology Extensions */
> -                "\030<b23>"
> -                "\031<b24>"
> +                "\030PCXC"    /* Core performance counter extensions */
> +                "\031PNXC"    /* NB performance counter extensions */
>                  "\032<b25>"
>                  "\033<b26>"
>                  "\034<b27>"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311061230.05865.jhb>