Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/cpuinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,8 @@ enum cpuinfo_uarch {
cpuinfo_uarch_falkor = 0x00400103,
/** Qualcomm Saphira. */
cpuinfo_uarch_saphira = 0x00400104,
/** Qualcomm Oryon */
cpuinfo_uarch_oryon = 0x00400105,

/** Nvidia Denver. */
cpuinfo_uarch_denver = 0x00500100,
Expand Down
4 changes: 4 additions & 0 deletions src/arm/uarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ void cpuinfo_arm_decode_vendor_uarch(
*uarch = cpuinfo_uarch_cortex_a55;
break;
#if CPUINFO_ARCH_ARM64
case 0x001:
/* Qualcomm Snapdragon X series (Oryon) */
*uarch = cpuinfo_uarch_oryon;
break;
case 0xC00:
*uarch = cpuinfo_uarch_falkor;
break;
Expand Down
2 changes: 2 additions & 0 deletions tools/cpu-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ static const char* uarch_to_string(enum cpuinfo_uarch uarch) {
return "Falkor";
case cpuinfo_uarch_saphira:
return "Saphira";
case cpuinfo_uarch_oryon:
return "Oryon";
case cpuinfo_uarch_denver:
return "Denver";
case cpuinfo_uarch_denver2:
Expand Down