Skip to content

Commit

Permalink
Add AArch64 to UtProcessorInfo
Browse files Browse the repository at this point in the history
This commit adds AArch64 to UtArchitecture and Armv8-A to UtSubtype.

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
  • Loading branch information
knn-k committed Dec 18, 2023
1 parent 82956e0 commit 48f551e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include_core/ute_dataformat.h
Expand Up @@ -117,6 +117,7 @@ typedef enum {
UT_TREX,
UT_OPTERON,
UT_RV64G,
UT_ARMV8A,
UT_SUBTYPE_FORCE_INTEGER = INT_MAX
} UtSubtype;

Expand Down Expand Up @@ -147,6 +148,7 @@ typedef enum {
UT_S390X,
UT_AMD64,
UT_RISCV,
UT_AARCH64,
UT_ARCHITECTURE_FORCE_INTEGER = INT_MAX
} UtArchitecture;

Expand Down
3 changes: 3 additions & 0 deletions omrtrace/omrtracelog.cpp
Expand Up @@ -1256,6 +1256,9 @@ getProcessorInfo(void)
} else if (0 == strcmp(osarch, OMRPORT_ARCH_RISCV)) {
ret->architecture = UT_RISCV;
ret->procInfo.subtype = UT_RV64G;
} else if (0 == strcmp(osarch, OMRPORT_ARCH_AARCH64)) {
ret->architecture = UT_AARCH64;
ret->procInfo.subtype = UT_ARMV8A;
} else {
ret->architecture = UT_UNKNOWN;
}
Expand Down

0 comments on commit 48f551e

Please sign in to comment.