From owner-svn-ports-head@freebsd.org Sat Dec 21 03:54:35 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2EC601EE43C; Sat, 21 Dec 2019 03:54:35 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47fsF70VPPz3L22; Sat, 21 Dec 2019 03:54:35 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 0A8721D326; Sat, 21 Dec 2019 03:54:35 +0000 (UTC) Date: Sat, 21 Dec 2019 03:54:35 +0000 From: Alexey Dokuchaev To: Jan Beich Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Gleb Popov , ports-committers@freebsd.org Subject: Re: svn commit: r520468 - in head/sysutils: . cpuid2cpuflags Message-ID: <20191221035434.GA14035@FreeBSD.org> References: <201912200518.xBK5IHPq022253@repo.freebsd.org> <20191220084532.GA30042@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2019 03:54:35 -0000 On Fri, Dec 20, 2019 at 12:11:57PM +0100, Jan Beich wrote: > Jan Beich writes: > > Neither supports non-x86 architectures[1] on FreeBSD. Even on x86 both > > are incomplete compared to "cc -march=native -v" e.g., cpuid2cpuflags > > lacks avx512bf16 while hs-cputype doesn't support avx512 at all. Thanks, I'll see if I can convert some of the suggestions into a patch. > > powerpc and powerpc64: > > - sysctlbyname: kern.cpu_features + kern.cpu_features2 I'm actually surprised why we don't have standard `hw.cpu_features' populated for specific CPU accordingly, in 2019 still. > There's also hw.altivec as useful as hw.instruction_sse ;) Both of these should of course be gone (replaced by hw.cpu_features). ./danfe