V4: [PATCH] x86: Install <sys/platform/x86.h> [BZ #26124]
Florian Weimer
fweimer@redhat.com
Wed Jun 24 14:33:49 GMT 2020
* H. J. Lu:
> Here is the updated patch with
>
> -- Macro: int HAS_CPU_FEATURE (NAME)
> This macro returns a nonzero value (true) if the processor has the
> feature NAME.
>
> -- Macro: int CPU_FEATURE_USABLE (NAME)
> This macro returns a nonzero value (true) if the processor has the
> feature NAME and the feature is supported by the operating system.
This is indeed less confusing. Thanks.
I'm still convinced we have a real use case for HAS_CPU_FEATURE.
Does anyone else want to comment on this?
Thanks,
Florian
More information about the Libc-alpha
mailing list