-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename graviton products with ARM uarch name #57
Changes from 2 commits
80e9cc9
8b8583e
1170415
5f1fa2c
6168c31
f7db3b6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2093,6 +2093,130 @@ | |
] | ||
} | ||
}, | ||
"armv8.1a": { | ||
"from": ["aarch64"], | ||
"vendor": "generic", | ||
"features": [], | ||
"compilers": { | ||
"gcc": [ | ||
{ | ||
"versions": "5:", | ||
"flags": "-march=armv8.1-a -mtune=generic" | ||
} | ||
], | ||
"clang": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.1-a -mtune=generic" | ||
} | ||
], | ||
"apple-clang": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.1-a -mtune=generic" | ||
} | ||
], | ||
"arm": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.1-a -mtune=generic" | ||
} | ||
] | ||
} | ||
}, | ||
"armv8.2a": { | ||
"from": ["armv8.1a"], | ||
"vendor": "generic", | ||
"features": [], | ||
"compilers": { | ||
"gcc": [ | ||
{ | ||
"versions": "6:", | ||
"flags": "-march=armv8.2-a -mtune=generic" | ||
} | ||
], | ||
"clang": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.2-a -mtune=generic" | ||
} | ||
], | ||
"apple-clang": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.2-a -mtune=generic" | ||
} | ||
], | ||
"arm": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.2-a -mtune=generic" | ||
} | ||
] | ||
} | ||
}, | ||
"armv8.3a": { | ||
"from": ["armv8.2a"], | ||
"vendor": "generic", | ||
"features": [], | ||
"compilers": { | ||
"gcc": [ | ||
{ | ||
"versions": "6:", | ||
"flags": "-march=armv8.3-a -mtune=generic" | ||
} | ||
], | ||
"clang": [ | ||
{ | ||
"versions": "6:", | ||
"flags": "-march=armv8.3-a -mtune=generic" | ||
} | ||
], | ||
"apple-clang": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.3-a -mtune=generic" | ||
} | ||
], | ||
"arm": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.3-a -mtune=generic" | ||
} | ||
] | ||
} | ||
}, | ||
"armv8.4a": { | ||
"from": ["armv8.3a"], | ||
"vendor": "generic", | ||
"features": [], | ||
"compilers": { | ||
"gcc": [ | ||
{ | ||
"versions": "8:", | ||
"flags": "-march=armv8.4-a -mtune=generic" | ||
} | ||
], | ||
"clang": [ | ||
{ | ||
"versions": "8:", | ||
"flags": "-march=armv8.4-a -mtune=generic" | ||
} | ||
], | ||
"apple-clang": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.4-a -mtune=generic" | ||
} | ||
], | ||
"arm": [ | ||
{ | ||
"versions": ":", | ||
"flags": "-march=armv8.4-a -mtune=generic" | ||
} | ||
] | ||
} | ||
}, | ||
"thunderx2": { | ||
"from": ["aarch64"], | ||
"vendor": "Cavium", | ||
|
@@ -2209,7 +2333,7 @@ | |
] | ||
} | ||
}, | ||
"graviton": { | ||
"cortex_a72": { | ||
"from": ["aarch64"], | ||
"vendor": "ARM", | ||
"features": [ | ||
|
@@ -2235,19 +2359,19 @@ | |
}, | ||
{ | ||
"versions": "6:", | ||
"flags" : "-march=armv8-a+crc+crypto -mtune=cortex-a72" | ||
"flags" : "-mcpu=cortex-a72" | ||
} | ||
], | ||
"clang" : [ | ||
{ | ||
"versions": "3.9:", | ||
"flags" : "-march=armv8-a+crc+crypto" | ||
"flags" : "-mcpu=cortex-a72" | ||
} | ||
] | ||
} | ||
}, | ||
"graviton2": { | ||
"from": ["graviton"], | ||
"neoverse_n1": { | ||
"from": ["cortex_a72", "armv8.2a"], | ||
"vendor": "ARM", | ||
"features": [ | ||
"fp", | ||
|
@@ -2296,7 +2420,7 @@ | |
}, | ||
{ | ||
"versions": "9.0:", | ||
"flags" : "-march=armv8.2-a+fp16+rcpc+dotprod+crypto -mtune=neoverse-n1" | ||
"flags" : "-mcpu=neoverse-n1" | ||
} | ||
], | ||
"clang" : [ | ||
|
@@ -2307,6 +2431,10 @@ | |
{ | ||
"versions": "5:", | ||
"flags" : "-march=armv8.2-a+fp16+rcpc+dotprod+crypto" | ||
}, | ||
{ | ||
"versions": "10:", | ||
"flags" : "-mcpu=neoverse-n1" | ||
} | ||
], | ||
"arm" : [ | ||
|
@@ -2317,11 +2445,11 @@ | |
] | ||
} | ||
}, | ||
"graviton3": { | ||
"from": ["graviton2"], | ||
"neoverse_v1": { | ||
"from": ["neoverse_n1"], | ||
alalazo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"vendor": "ARM", | ||
"features": [ | ||
"fp", | ||
"fp", | ||
alalazo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"asimd", | ||
"evtstrm", | ||
"aes", | ||
|
@@ -2384,11 +2512,11 @@ | |
}, | ||
{ | ||
"versions": "9.0:9.9", | ||
"flags" : "-march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+nodotprod -mtune=neoverse-v1" | ||
"flags" : "-mcpu=neoverse-v1" | ||
}, | ||
{ | ||
"versions": "10.0:", | ||
"flags" : "-march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+ssbs+i8mm+bf16+nodotprod -mtune=neoverse-v1" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why drop the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe it's worth adding that link somewhere, maybe in the README file in this repo? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, we might start another doc related PR and add more generally a section on "resources" to look at when adding a new compiler. |
||
"flags" : "-mcpu=neoverse-v1" | ||
} | ||
|
||
], | ||
|
@@ -2404,6 +2532,10 @@ | |
{ | ||
"versions": "11:", | ||
"flags" : "-march=armv8.4-a+sve+ssbs+fp16+bf16+crypto+i8mm+rng" | ||
}, | ||
{ | ||
"versions": "12:", | ||
"flags" : "-mcpu=neoverse-v1" | ||
} | ||
], | ||
"arm" : [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The versions for both
arm
andapple-clang
need to be checked, but I guess we can do that in a follow up PR. The versions forgcc
andclang
should be correct, but maybe stricter than necessary - they can also be refined later.