a small C library for x86 CPU detection and feature extraction