/cpu-arch-detect

detect cpu arch like haswell ivybridge

Primary LanguageC

Intel Cpu Arch Detect tool.

GCC-4.8 detect I7-7500U like -march=core-avx2, BUT GCC-5.X detect I7-7500U like -march=broadwell

So, this tool is to compatible for the old gcc version to detect cpu same as the new-gcc version.

Note: You need to install gcc

Usage: make clean; make

./arch_detect