fhandler_proc.cc:format_proc_cpuinfo add rdpru flag
rdpru flag is cpuid xfn 80000008 ebx bit 4 added in linux 5.5; see AMD64 Architecture Programmer's Manual Volume 3: General-Purpose and System Instructions https://www.amd.com/system/files/TechDocs/24594.pdf#page=329 and elsewhere in that document
This commit is contained in:
parent
5fdcb8fc13
commit
8f502bd331
@ -1255,6 +1255,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
|
||||
ftcprint (features1, 0, "clzero"); /* clzero instruction */
|
||||
ftcprint (features1, 1, "irperf"); /* instr retired count */
|
||||
ftcprint (features1, 2, "xsaveerptr"); /* save/rest FP err ptrs */
|
||||
ftcprint (features1, 4, "rdpru"); /* user level rd proc reg */
|
||||
/* ftcprint (features1, 6, "mba"); */ /* memory BW alloc */
|
||||
ftcprint (features1, 9, "wbnoinvd"); /* wbnoinvd instruction */
|
||||
/* ftcprint (features1, 12, "ibpb" ); */ /* ind br pred barrier */
|
||||
|
Loading…
Reference in New Issue
Block a user