Reports in speed test if the CPU has a slow access to extended regs.

This commit is contained in:
Andrea Mazzoleni 2014-09-14 16:53:42 +02:00
parent 5d61b3b81b
commit b32e3cdc03

View file

@ -122,7 +122,7 @@ void speed(int period)
raid_cpu_info(vendor, &family, &model);
printf("CPU %s, family %u, model %u, flags%s%s%s%s%s%s%s%s\n", vendor, family, model,
printf("CPU %s, family %u, model %u, flags%s%s%s%s%s%s%s%s%s\n", vendor, family, model,
raid_cpu_has_mmx() ? " mmx" : "",
raid_cpu_has_sse2() ? " sse2" : "",
raid_cpu_has_ssse3() ? " ssse3" : "",
@ -130,7 +130,8 @@ void speed(int period)
raid_cpu_has_avx() ? " avx" : "",
raid_cpu_has_avx2() ? "avx2" : "",
raid_cpu_has_slowmult() ? " slowmult" : "",
raid_cpu_has_slowpshufb() ? " slowpshufb" : ""
raid_cpu_has_slowpshufb() ? " slowpshufb" : "",
raid_cpu_has_slowextendedreg() ? " slowext" : ""
);
}
#else