Skip to content

Commit

Permalink
aarch64: Update Ampere-1A (-mcpu=ampere1a) to include SM4
Browse files Browse the repository at this point in the history
gcc/ChangeLog:

	* config/aarch64/aarch64-cores.def (AARCH64_CORE): Update
        ampere1a to include SM4.

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
  • Loading branch information
ptomsich authored and ouuleilei-bot committed Jan 28, 2023
1 parent 2f2101c commit c051364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/config/aarch64/aarch64-cores.def
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ AARCH64_CORE("thunderxt83", thunderxt83, thunderx, V8A, (CRC, CRYPTO), thu

/* Ampere Computing ('\xC0') cores. */
AARCH64_CORE("ampere1", ampere1, cortexa57, V8_6A, (F16, RNG, AES, SHA3), ampere1, 0xC0, 0xac3, -1)
AARCH64_CORE("ampere1a", ampere1a, cortexa57, V8_6A, (F16, RNG, AES, SHA3, MEMTAG), ampere1a, 0xC0, 0xac4, -1)
AARCH64_CORE("ampere1a", ampere1a, cortexa57, V8_6A, (F16, RNG, AES, SHA3, SM4, MEMTAG), ampere1a, 0xC0, 0xac4, -1)
/* Do not swap around "emag" and "xgene1",
this order is required to handle variant correctly. */
AARCH64_CORE("emag", emag, xgene1, V8A, (CRC, CRYPTO), emag, 0x50, 0x000, 3)
Expand Down

0 comments on commit c051364

Please sign in to comment.