Gentoo Archives: gentoo-dev

From: Matt Turner <mattst88@g.o>
To: gentoo development <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:02:19
Message-Id: CAEdQ38HCDuFMPN6qacwVaohE3-kVhGLm=sH8Oficw7BfEsEKbQ@mail.gmail.com
In Reply to: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags by "Michał Górny"
From my original generation SolidRun Cubox:

$ ./hwcap-dump
hwcap:000000000004ead6
hwcap2:0000000000000000
mattst88@cubox ~/cpuid2cpuflags-7-dev $ uname -a
Linux cubox 5.2.7 #11 Wed Aug 7 17:50:03 PDT 2019 armv7l ARMv7
Processor rev 5 (v7l) Marvell Dove GNU/Linux

cpuid2cflags says
CPU_FLAGS_ARM: edsp iwmmxt thumb vfp vfpv3 v4 v5 v6 v7 thumb2

/proc/cpuinfo:

processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 333.33
Features        : half thumb fastmult vfp edsp iwmmxt thumbee vfpv3
vfpv3d16 tls idivt
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0x581
CPU revision    : 5

Hardware        : Marvell Dove
Revision        : 0000
Serial          : 0000000000000000

I've got an "iwmmxt2" flag on x11-libs/pixman, but I don't think
there's a hwcap bit for it. At least not that I see in
arch/arm/include/uapi/asm/hwcap.h

That's just as well. It's only a very small optimization over iwmmxt.

Replies

Subject Author
Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags "Michał Górny" <mgorny@g.o>