Skip to content

Commit

Permalink
Added support for ARM64 Ampere Altra CPU that has GCC -march=armv8.2-…
Browse files Browse the repository at this point in the history
…a+crypto+fp16+rcpc+dotprod and Amazon Graviton 3 that has GCC -march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+ssbs+i8mm+bf16+nodotprod
  • Loading branch information
maximmasiutin committed Mar 20, 2023
1 parent be4894b commit dc0f4c9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,20 @@ def find_arch(compiler):
and "apple-silicon" in targets
):
arch = "apple-silicon"
elif (
"armv8" in props["arch"]
and "dotprod" in props["arch"]
and not ("nodotprod" in props["arch"])
):
arch = "armv8-dotprod"
elif (
"armv8" in props["arch"]
):
arch = "armv8"
elif (
"armv7" in props["arch"]
):
arch = "armv7"
elif (
"avx512vnni" in props["flags"]
and "avx512dq" in props["flags"]
Expand Down

0 comments on commit dc0f4c9

Please sign in to comment.