Skip to content

hwcap on aarch64 linux is 64bit #192

Open
@nsz-arm

Description

@nsz-arm

hwcap and hwcap2 are 64bit values on arm64 linux so consistently using uint32_t for it is wrong.

(top 32bit of hwcap is reserved for libc use so may not be relevant for cpuinfo, but hwcap2 is 64bit and top bits are already in use.)

https://elixir.bootlin.com/linux/latest/source/arch/arm64/include/uapi/asm/hwcap.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions