detect: Adding cpu flags detection

It's pretty useful to get the cpu flags reported by the hardware.