PAPI_get_hardware_info() cannot identify ARM processors designed by companies other than Arm Limited.

Issue #96 resolved
Masahiko Yamada created an issue

On ARM processors, the PAPI_hw_info_t structure retrieved with PAPI_get_hardware_info()
does not contain the "CPU implementer" information in/proc/cpuinfo.
The papi library seems to implement ARM processor-related operations on ARM processors
designed by Arm Limited ("CPU implementer"=0x41).

On ARM processors,
the following information may currently be set to "CPU implementer" in/proc/cpuinfo:.

0x41 Arm Limited
0x42 Broadcom Corporation
0x43 Cavium Inc.
0x44 Digital Equipment Corporation
0x46 Fujitsu Ltd.
0x49 Infineon Technologies AG
0x4D Motorola or Freescale Semiconductor Inc.
0x4E NVIDIA Corporation
0x50 Applied Micro Circuits Corporation
0x51 Qualcomm Inc.
0x56 Marvell International Ltd.
0x69 Intel Corporation
0xC0 Ampere Computing

For this reason, the information contained in the PAPI_hw_info_t structure,
which can be retrieved with PAPI_get_hardware_info(), cannot be used to identify ARM processors
designed by companies other than Arm Limited ("CPU implementer"=0x41).

Best regards,
Masahiko Yamada

Comments (4)

  1. Log in to comment