cpuid;x86: prefer boolean names over numbers

This commit is contained in:
Danny Robson 2019-06-20 14:47:28 +10:00
parent 72ea2450a2
commit 3b24e6b7e7

View File

@ -102,12 +102,12 @@ cruft::cpu::operator<< (std::ostream &os, const x86 &val)
cruft::view {val.product_name},
val.cores.logical,
val.cores.physical,
val.cores.hyper_threading,
val.simd.sse,
val.simd.sse2,
val.simd.sse3,
val.simd.ssse3,
val.simd.sse41,
val.simd.sse42
(val.cores.hyper_threading ? "true" : "false"),
(val.simd.sse ? "true" : "false"),
(val.simd.sse2 ? "true" : "false"),
(val.simd.sse3 ? "true" : "false"),
(val.simd.ssse3 ? "true" : "false"),
(val.simd.sse41 ? "true" : "false"),
(val.simd.sse42 ? "true" : "false")
);
}