[RFC Linux patch] powerpc: add documentation for HWCAPs
Segher Boessenkool
segher@kernel.crashing.org
Fri May 20 17:42:50 GMT 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 Gcc
mailing list