Skip to content

Commit

Permalink
Add definition for power10 (#80)
Browse files Browse the repository at this point in the history
Co-authored-by: Massimiliano Culpo <[email protected]>
  • Loading branch information
isuruf and alalazo authored Nov 6, 2023
1 parent d8671aa commit 24825c1
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
43 changes: 43 additions & 0 deletions cpu/microarchitectures.json
Original file line number Diff line number Diff line change
Expand Up @@ -2318,6 +2318,26 @@
]
}
},
"power10": {
"from": ["power9"],
"vendor": "IBM",
"generation": 10,
"features": [],
"compilers": {
"gcc": [
{
"versions": "11.1:",
"flags": "-mcpu={name} -mtune={name}"
}
],
"clang": [
{
"versions": "11.0:",
"flags": "-mcpu={name} -mtune={name}"
}
]
}
},
"ppc64le": {
"from": [],
"vendor": "generic",
Expand Down Expand Up @@ -2405,6 +2425,29 @@
]
}
},
"power10le": {
"from": ["power9le"],
"vendor": "IBM",
"generation": 10,
"features": [],
"compilers": {
"gcc": [
{
"name": "power10",
"versions": "11.1:",
"flags": "-mcpu={name} -mtune={name}"
}
],
"clang": [
{
"versions": "11.0:",
"family": "ppc64le",
"name": "power10",
"flags": "-mcpu={name} -mtune={name}"
}
]
}
},
"aarch64": {
"from": [],
"vendor": "generic",
Expand Down
4 changes: 4 additions & 0 deletions tests/targets/linux-rhel8-power9
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
processor : 0
cpu : POWER9, altivec supported
clock : 3666.000000MHz
revision : 2.2 (pvr 004e 1202)
3 changes: 3 additions & 0 deletions tests/targets/linux-unknown-power10
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
processor : 0
cpu : POWER10, altivec supported
revision : 17.0 (pvr 0080 1100)

0 comments on commit 24825c1

Please sign in to comment.