On Wed, 2019-09-11 at 11:02 -0700, Matt Turner wrote:
> 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

Thanks.

> 
> 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

Maybe there's some other way of inferring it.  For example, 'thumb2'
we're basing on ARM version.

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

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to