summaryrefslogtreecommitdiff
path: root/cpu_features.c
diff options
context:
space:
mode:
authorAlex Chiang <achiang@sw04.internal.sifive.com>2023-04-27 01:40:15 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2023-05-12 16:57:32 +0200
commitc3cdf434f32e3f158b8caedd45113384bf4aed14 (patch)
tree151fb90d14cfa780ade10c36563085c89f4ea5ed /cpu_features.c
parent9087c75f8d9a35c7d7801440c23deb555e77714e (diff)
downloadProject-Tick-c3cdf434f32e3f158b8caedd45113384bf4aed14.tar.gz
Project-Tick-c3cdf434f32e3f158b8caedd45113384bf4aed14.zip
Add supporting RISC-V cross compilation workflows
Add RISC-V cross-compilation test Enable RVV support at compile time
Diffstat (limited to 'cpu_features.c')
-rw-r--r--cpu_features.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu_features.c b/cpu_features.c
index b69a01304a..3585172e5d 100644
--- a/cpu_features.c
+++ b/cpu_features.c
@@ -17,5 +17,7 @@ Z_INTERNAL void cpu_check_features(struct cpu_features *features) {
power_check_features(&features->power);
#elif defined(S390_FEATURES)
s390_check_features(&features->s390);
+#elif defined(RISCV_FEATURES)
+ riscv_check_features(&features->riscv);
#endif
}