[Rpm-maint] [rpm-software-management/rpm] Add x86-64 architecture levels (v2-v4) as architectures (PR #2315)
Fabian Vogt
notifications at github.com
Fri Mar 10 20:37:39 UTC 2023
> > FWICT, the auxiliary vector for HWCAPS is no longer really used and applications (including glibc, gcc runtime code) have to resort to methods like this instead. GCC's `__builtin_cpu_supports` does unfortunately not support all features needed to detect these levels properly.
>
> What feature do you miss? Note that using `__builtin_cpu_supports` would be much cleaner code and it's supported also by LLVM.
Of the one mentioned here:
> AVX + AVX2 + F16C + FMA + LZCNT + MOVBE + BMI + BMI2 + OSXSAVE
F16C, LZCNT, MOVBE and OSXSAVE aren't exposed through `__builtin_cpu_supports`, except by using `x86-64-v3`.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2315#issuecomment-1464415351
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2315/c1464415351 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230310/3570fe06/attachment-0001.html>
More information about the Rpm-maint
mailing list