Subject: Re: [RFC Linux patch] powerpc: add documentation for HWCAPs

From: Segher Boessenkool <[email-masked]>
Date: Fri, 20 May 2022 12:42:50 -0500

On Fri, May 20, 2022 at 09:21:43AM -0500, Paul E Murphy wrote:
> >+PPC_FEATURE_HAS_ALTIVEC
> >+    Vector (aka Altivec, VSX) facility is available.
> 
> I think "(aka Altivec, VSX)" might be more accurately stated as "(aka 
> Altivec)"?

"Also known as AltiVec or VMX", yes.

> >+PPC_FEATURE_HAS_DFP
> >+    DFP facility is available.
> 
> Maybe something like "Decimal floating point instructions are available 
> to userspace.  Individual instruction availability is dependent on the
> reported architecture version."?

That is true for *all* facilities, and even the base architecture!  This
is not only hypothetical, either.

Segher