We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67302b2 commit 58b7d20Copy full SHA for 58b7d20
libc/src/__support/macros/properties/cpu_features.h
@@ -61,7 +61,7 @@
61
62
#if defined(__riscv_flen)
63
// https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/src/c-api.adoc
64
-#if (__riscv_arch_test && __riscv_zfhmin)
+#if defined(__riscv_zfhmin)
65
#define LIBC_TARGET_CPU_HAS_RISCV_FPU_HALF
66
#define LIBC_TARGET_CPU_HAS_FPU_HALF
67
#endif // LIBC_TARGET_CPU_HAS_RISCV_FPU_HALF
0 commit comments