summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-22 08:30:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-22 08:31:28 +0100
commit37294a09ebe6434c0dc13ca51b317593ee1073c9 (patch)
tree0148d7de270e62dcdad1819218747921d66f9d3a /target
parentab2b5c87465dcc72cfebc1a89d70b1b5d58fe0f5 (diff)
riscv64: add rv32imafdc/rv64imafdc
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.cpu21
1 files changed, 19 insertions, 2 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 905d0404d..76b4ee86a 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -1195,6 +1195,13 @@ config ADK_TARGET_CPU_RISCV32_RV32IMADC
select ADK_TARGET_ABI_ILP32D
depends on ADK_TARGET_ARCH_RISCV32
+config ADK_TARGET_CPU_RISCV32_RV32IMAFDC
+ bool "rv32imafdc"
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
+ depends on ADK_TARGET_ARCH_RISCV32
+
config ADK_TARGET_CPU_RISCV64_RV64IMAC
bool "rv64imac"
select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
@@ -1219,6 +1226,12 @@ config ADK_TARGET_CPU_RISCV64_RV64IMADC
select ADK_TARGET_ABI_LP64D
depends on ADK_TARGET_ARCH_RISCV64
+config ADK_TARGET_CPU_RISCV64_RV64IMAFDC
+ bool "rv64imafdc"
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
+ depends on ADK_TARGET_ARCH_RISCV64
# rx
config ADK_TARGET_CPU_RX
@@ -2061,10 +2074,14 @@ config ADK_TARGET_GCC_ARCH
default "x86-64" if ADK_TARGET_CPU_X86_64
default "z900" if ADK_TARGET_CPU_S390_Z900
default "c674x" if ADK_TARGET_CPU_C6X
- default "rv32imafdc" if ADK_TARGET_CPU_RISCV32_RV32IMAFDC
default "rv32imac" if ADK_TARGET_CPU_RISCV32_RV32IMAC
- default "rv64imafdc" if ADK_TARGET_CPU_RISCV64_RV64IMAFDC
+ default "rv32imafc" if ADK_TARGET_CPU_RISCV32_RV32IMAFC
+ default "rv32imadc" if ADK_TARGET_CPU_RISCV32_RV32IMADC
+ default "rv32imafdc" if ADK_TARGET_CPU_RISCV32_RV32IMAFDC
default "rv64imac" if ADK_TARGET_CPU_RISCV64_RV64IMAC
+ default "rv64imafc" if ADK_TARGET_CPU_RISCV64_RV64IMAFC
+ default "rv64imadc" if ADK_TARGET_CPU_RISCV64_RV64IMADC
+ default "rv64imafdc" if ADK_TARGET_CPU_RISCV64_RV64IMAFDC
default "kv3-1" if ADK_TARGET_ARCH_KVX
# for CFLAGS/CXXFLAGS if gcc does not support --with-cpu