Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: arm <arm@g.o>
Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags
Date: Wed, 11 Sep 2019 18:15:44
Message-Id: 4fe3fcbe0c411a3aa1bfd23336cc42cc8726b0d2.camel@gentoo.org
In Reply to: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags by Matt Turner
1 On Wed, 2019-09-11 at 11:02 -0700, Matt Turner wrote:
2 > From my original generation SolidRun Cubox:
3 >
4 > $ ./hwcap-dump
5 > hwcap:000000000004ead6
6 > hwcap2:0000000000000000
7 > mattst88@cubox ~/cpuid2cpuflags-7-dev $ uname -a
8 > Linux cubox 5.2.7 #11 Wed Aug 7 17:50:03 PDT 2019 armv7l ARMv7
9 > Processor rev 5 (v7l) Marvell Dove GNU/Linux
10 >
11 > cpuid2cflags says
12 > CPU_FLAGS_ARM: edsp iwmmxt thumb vfp vfpv3 v4 v5 v6 v7 thumb2
13 >
14 > /proc/cpuinfo:
15 >
16 > processor : 0
17 > model name : ARMv7 Processor rev 5 (v7l)
18 > BogoMIPS : 333.33
19 > Features : half thumb fastmult vfp edsp iwmmxt thumbee vfpv3
20 > vfpv3d16 tls idivt
21 > CPU implementer : 0x56
22 > CPU architecture: 7
23 > CPU variant : 0x0
24 > CPU part : 0x581
25 > CPU revision : 5
26 >
27 > Hardware : Marvell Dove
28 > Revision : 0000
29 > Serial : 0000000000000000
30
31 Thanks.
32
33 >
34 > I've got an "iwmmxt2" flag on x11-libs/pixman, but I don't think
35 > there's a hwcap bit for it. At least not that I see in
36 > arch/arm/include/uapi/asm/hwcap.h
37
38 Maybe there's some other way of inferring it. For example, 'thumb2'
39 we're basing on ARM version.
40
41 >
42 > That's just as well. It's only a very small optimization over iwmmxt.
43 >
44
45 --
46 Best regards,
47 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature