![](https://seccdn.libravatar.org/avatar/a6ffef5dde34bf02c36fb9fb70f3e397.jpg?s=120&d=mm&r=g)
On Thu, 28 Jul 2022 22:28, Jan Engelhardt <jengelh@...> wrote:
On Thursday 2022-07-28 20:51, Yamaban wrote:
otherwise a short awk program will also give answers: [code] #!/usr/bin/awk -f
BEGIN { while (!/flags/) if (getline < "/proc/cpuinfo" != 1) exit 1 if (/lm/&&/cmov/&&/cx8/&&/fpu/&&/fxsr/&&/mmx/&&/syscall/&&/sse2/) level = 1 if (level == 1 && /cx16/&&/lahf/&&/popcnt/&&/sse4_1/&&/sse4_2/&&/ssse3/) level = 2 if (level == 2 && /avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/)
This is slightly incorrect. A hypothetical machine which has AVX2 but lacks AVX1 would still print level 2.
In theory maybe, I'll give you that, but in my past research on this I have not found such a CPU made by intel or AMD. Are there others that produce feature-complete x86_64 CPUs with AVX2 but without AVX1 ?? Please find one, THAT unicorn I'd like to at least know about. The oldest up-and-running system I have available atm, is from 2016 with a intel Core i3-4330T which should support x86-64-v3 AFAICT. Anyway, RedHat did the move to x86-64-v2 in RHEL9, that was big talk in early last year. The following is my personal opinion: Best implementation for SUSE SLE would be a "starting with SLE16 page" that clearly states which x86-arch CPUs are 64bit but NOT -v2 so the decision can be made clearly and and completely transparent. A public accessible (no login) list of known bad (in terms of features) CPUs (which would also help for Tumbleweed as a point of reference to point to). - Yamaban.