Cpuid2cpuflags

From Funtoo
Jump to: navigation, search

cpuinfo2cpuflags

There is no program cpuinfo2cpuflags but cpuid2cpuflags which can be emerged.

emerge app-portage/cpuid2cpuflags

https://github.com/mgorny/cpuid2cpuflags Quick how too use :

 $ mkdir /etc/portage/package.use   # if not used yet
 $ echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags 

rpi4 sample arm64 : edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2

Gentoo-wiki bits:

CPU_FLAGS_X86 is a USE_EXPAND variable containing instruction set and other CPU-specific features.

CPU_FLAGS_PPC is a USE_EXPAND variable containing instruction set and other CPU-specific features.

CPU_FLAGS_ARM is a USE_EXPAND variable containing instruction set and other CPU-specific features. page:


Stub:page so feel free to expand & Expound upon..