News for hackers. Stuff that matters.
Re:Intel Discloses Lakefield CPUs Specifications by mooman219 on Wednesday June 10, 2020 @03:21PM (#23480969)
Tons of asterisks here, but: You'll have to explicitly write the code to do that at runtime if APIs are provided to do so. When you build for a target, say x86, you're usually targeting the lowest common denominator that you're willing to support and the compiler might not output less supported instructions even if the CPU it's compiling on supports them.
Re:Intel Discloses Lakefield CPUs Specifications by gpderetta on Wednesday June 10, 2020 @05:29PM (#23482367)
Yes, most programs target the generic x86-64 ISA which means sse2 at most. Still some have accellerated paths that are enabled looking at feature bits. So a simple solution is for the os to mask out some of those bits for processes that intends to potentially migrate to the less featured cores, while potentially giving the option to let the user "pin" a process to the fast cores enabling the all features.