]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Automate generation of PREFERRED_FEATURE_INDEX_1 bitfield
authorFlorian Weimer <fweimer@redhat.com>
Tue, 2 Mar 2021 13:58:05 +0000 (14:58 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 2 Mar 2021 14:01:06 +0000 (15:01 +0100)
commite4933c8a92ea08eecdf3ab45e7f76c95dc3d20ac
treede1de15ad0089d01cbd2e26ee31ba54bff3d815f
parent851f32cf7bf7067f73b991610778915edd57d7b4
x86: Automate generation of PREFERRED_FEATURE_INDEX_1 bitfield

Use a .def file to define the bitfield layout, so that it is possible
to iterate over field members using the preprocessor.
sysdeps/x86/include/cpu-features-preferred_feature_index_1.def [new file with mode: 0644]
sysdeps/x86/include/cpu-features.h