Add Arm HWCAP values from Linux 6.2 to bits/hwcap.h

Joseph Myers joseph@codesourcery.com
Tue Feb 28 00:09:33 GMT 2023


On Sat, 25 Feb 2023, Andreas Schwab wrote:

> > diff --git a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h
> > index 8e228c1d56..f325fa93d6 100644
> > --- a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h
> > +++ b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h
> > @@ -43,3 +43,9 @@
> >  #define HWCAP_ARM_VFPD32	524288
> >  #define HWCAP_ARM_LPAE		1048576
> >  #define HWCAP_ARM_EVTSTRM	2097152
> > +#define HWCAP_FPHP		4194304
> > +#define HWCAP_ASIMDHP		8388608
> > +#define HWCAP_ASIMDDP		16777216
> > +#define HWCAP_ASIMDFHM		33554432
> > +#define HWCAP_ASIMDBF16		67108864
> > +#define HWCAP_I8MM		134217728
> 
> Should that also get defines for HWCAP2?

I don't know - for whatever reason the initial HWCAP2 support 
<https://sourceware.org/legacy-ml/libc-alpha/2014-06/msg00756.html> didn't 
add defines to the header.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list