[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
Fri May 12 12:14:35 UTC 2023


Just CPUID is not enough and neither is just __builtin_cpu_supports,
so use both.

Fixes: https://github.com/rpm-software-management/rpm/issues/2463

@fweimer Anything else this could possibly be missing?
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2508

-- Commit Summary --

  * Use __builtin_cpu_supports in x86-64 CPU feature level detection
  * For completeness, make sure CPUID leaf 7 is supported before using it

-- File Changes --

    M lib/rpmrc.c (18)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2508.patch
https://github.com/rpm-software-management/rpm/pull/2508.diff

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

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


More information about the Rpm-maint mailing list