[Rpm-maint] [rpm-software-management/rpm] Use __builtin_cpu_supports in x86-64 CPU feature level detection (PR #2508)

Fabian Vogt notifications at github.com
Wed May 24 10:20:18 UTC 2023


> I meant more like only use it if detected available.

FWICT it's supported by GCC 7.1 (haven't checked older) and in clang since 2015. Are other compilers supported?

> And if this whole thing relies on it, then perhaps we should only detect these newer variants if __builtin_cpu_supports() is available.

Yes. Though it's IMO weird that in under those circumstances RPM would then just ignore some architectures.

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

Message ID: <rpm-software-management/rpm/pull/2508/c1560847987 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230524/3f69cefb/attachment.html>


More information about the Rpm-maint mailing list