| ▲ | josephg 8 hours ago | ||||||||||||||||
> - Intel's technical docs will say "if CPUID leaf 0x3aa asserts bit 63 then the CPU is affected". (There is no database for this you can only find it out by actually booting one up). I’m doing some OS work at the moment and running into this. I’m really surprised there’s no caniuse.com for cpu features. I’m planning on requiring support for all the features that have been in every cpu that shipped in the last 10+ years. But it’s basically impossible to figure that out. Especially across Intel and amd. Can I assume apic? Iommu stuff? Is acpi 2 actually available on all CPUs or do I need to have to have support for the old version as well? It’s very annoying. | |||||||||||||||||
| ▲ | johncolanduoni 4 hours ago | parent | next [-] | ||||||||||||||||
Even more fun is that some of those (IOMMU and ACPI version) depend on motherboard/firmware support. Inevitably there is some bargain-bin board for each processor generation that doesn’t support anything that isn’t literally required for the CPU/chipset to POST. For userspace CPU features the new x86_64-v3/v4 profiles that Clang/LLVM support are good Schelling points, but they don’t cover e.g. page table features. Windows has specific platform requirements they spell out for each version - those are generally your best bet on x86. ARM devs have it way worse so I guess we shouldn’t complain. | |||||||||||||||||
| |||||||||||||||||
| ▲ | throw0101a 3 hours ago | parent | prev | next [-] | ||||||||||||||||
> I’m planning on requiring support for all the features that have been in every cpu that shipped in the last 10+ years. But it’s basically impossible to figure that out. The easiest thing would probably to specify the need for "x86-64-v3": * https://en.wikipedia.org/wiki/X86-64#Microarchitecture_level... RHEL9 mandated "x86-64-v2", and v3 is being considered for RHEL10: > The x86-64-v3 level has been implemented first in Intel’s Haswell CPU generation (2013). AMD implemented x86-64-v3 support with the Excavator microarchitecture (2015). Intel’s Atom product line added x86-64-v3 support with the Gracemont microarchitecture (2021), but Intel has continued to release Atom CPUs without AVX support after that (Parker Ridge in 2022, and an Elkhart Lake variant in 2023). * https://developers.redhat.com/articles/2024/01/02/exploring-... | |||||||||||||||||
| |||||||||||||||||
| ▲ | baq 8 hours ago | parent | prev [-] | ||||||||||||||||
I’m pretty sure the number of people at Intel who can tell you offhandedly the answer to your questions about only Intel processors is approximately zero give or take couple. Digging would be required. If you were willing to accept only the relatively high power variants it’d be easier. | |||||||||||||||||
| |||||||||||||||||