aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/aarch64/aarch64.cc
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>2023-10-20 22:13:40 +0200
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>2023-11-30 00:53:36 +0100
commitcbf2369f3b545e0187fe2e659c764fabf75bb479 (patch)
tree7ef88ff108036d4ddfed4f2b37cc6cc6f6cdb800 /gcc/config/aarch64/aarch64.cc
parent99d114c15523e0bfe7a89ef1947f82eb5ff0260b (diff)
downloadgcc-cbf2369f3b545e0187fe2e659c764fabf75bb479.zip
gcc-cbf2369f3b545e0187fe2e659c764fabf75bb479.tar.gz
gcc-cbf2369f3b545e0187fe2e659c764fabf75bb479.tar.bz2
aarch64: Add support for Ampere-1B (-mcpu=ampere1b) CPU
This patch adds initial support for Ampere-1B core. The Ampere-1B core implements ARMv8.7 with the following (compiler visible) extensions: - CSSC (Common Short Sequence Compression instructions), - MTE (Memory Tagging Extension) - SM3/SM4 gcc/ChangeLog: * config/aarch64/aarch64-cores.def (AARCH64_CORE): Add ampere-1b * config/aarch64/aarch64-cost-tables.h: Add ampere1b_extra_costs * config/aarch64/aarch64-tune.md: Regenerate * config/aarch64/aarch64.cc: Include ampere1b tuning model * doc/invoke.texi: Document -mcpu=ampere1b * config/aarch64/tuning_models/ampere1b.h: New file.
Diffstat (limited to 'gcc/config/aarch64/aarch64.cc')
-rw-r--r--gcc/config/aarch64/aarch64.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index 4fd8c2d..6468425 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -375,6 +375,7 @@ static const struct aarch64_flag_desc aarch64_tuning_flags[] =
#include "tuning_models/neoversen1.h"
#include "tuning_models/ampere1.h"
#include "tuning_models/ampere1a.h"
+#include "tuning_models/ampere1b.h"
#include "tuning_models/neoversev1.h"
#include "tuning_models/neoverse512tvb.h"
#include "tuning_models/neoversen2.h"