BSD Ports

sysutils/cpuid2cpuflags 15 DragonFly

Tool to generate CPU_FLAGS_* for your CPU

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
sysutils
Package size
5.4 KiB, 11.6 KiB installed

Description

The program attempts to obtain the identification and capabilities of the currently used CPU, and print the matching set of CPU_FLAGS_* flags for Gentoo Linux, but it could be useful for FreeBSD as well.

The output format is compatible both with Portage (package.use) and Paludis (use.conf/options.conf).

On x86 platforms, the program issues the CPUID instruction to obtain processor capabilities.

On ARM platforms, the userspace processes are not allowed to obtain processor information directly. Instead, the program is relying on kernel identification of the CPU provided via the system interfaces.

In the other systems

SystemPortVersion
DragonFlysysutils/cpuid2cpuflags15
FreeBSDsysutils/cpuid2cpuflags16

Install

Binary package:

pkg install cpuid2cpuflags

From DPorts:

cd /usr/dports/sysutils/cpuid2cpuflags && make install clean

Dependencies

No port depends on this one.