This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/4] s390: Add <bits/hwcap.h>.
> On 03/16/12 16:37, Roland McGrath wrote:
> >> +#define HWCAP_S390_ESAN3 1
> >> +#define HWCAP_S390_ZARCH 2
> >> +#define HWCAP_S390_STFLE 4
> >> +#define HWCAP_S390_MSA 8
> >> +#define HWCAP_S390_LDISP 16
> >> +#define HWCAP_S390_EIMM 32
> >> +#define HWCAP_S390_DFP 64
> >> +#define HWCAP_S390_HPAGE 128
> >> +#define HWCAP_S390_ETF3EH 256
> >> +#define HWCAP_S390_HIGH_GPRS 512
> >
> > Hex or (1 << n) is nicer.
>
> This is literally cut and paste from linux/**/asm/elf.h.
> I could obviously diverge from the kernel if required ...
Then I guess it's better to keep it verbatim so eyeball sync is easier in
the future.