aboutsummaryrefslogblamecommitdiff
path: root/sysutils/cpuid2cpuflags/pkg-descr
blob: 2f344c20895708eff72387dacc672024f8e1446f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                    
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.

WWW: https://github.com/mgorny/cpuid2cpuflags