> GCC's __builtin_cpu_supports does unfortunately not support all features 
> needed to detect these levels properly.

Looks like since GCC 12.2 it actually can do 
`__builtin_cpu_supports("x86-64-v3")`: 
https://github.com/gcc-mirror/gcc/commit/8ea292591e42aa4d52b4b7a00b86335bfd2e2e85#diff-64afd6a149a7486d332f3d75ac9479f58d0fb674be6920a6e7db0e54cd205e70R38

It's just not documented... Is that an option for RPM? I guess not. It's not 
implemented by clang.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2315#issuecomment-1458293778
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2315/c1458293...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to