[RFC Linux patch] powerpc: add documentation for HWCAPs
Segher Boessenkool
segher at kernel.crashing.org
Sat May 21 03:42:50 AEST 2022
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
More information about the Linuxppc-dev
mailing list