svn commit: r520468 - in head/sysutils: . cpuid2cpuflags

Alexey Dokuchaev danfe at freebsd.org
Sat Dec 21 03:54:35 UTC 2019


On Fri, Dec 20, 2019 at 12:11:57PM +0100, Jan Beich wrote:
> Jan Beich <jbeich at FreeBSD.org> 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


More information about the svn-ports-head mailing list