Skip to content

Commit

Permalink
[libc][math][c23] Temporarily disable float16 on RISC-V (llvm#94984)
Browse files Browse the repository at this point in the history
  • Loading branch information
overmighty authored and Lukacma committed Jun 12, 2024
1 parent 3c5cde1 commit 8c85a91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libc/include/llvm-libc-macros/float16-macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
#define LLVM_LIBC_MACROS_FLOAT16_MACROS_H

#if defined(__FLT16_MANT_DIG__) && \
(!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__))
(!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__)) && \
!defined(__riscv)
#define LIBC_TYPES_HAS_FLOAT16
#endif

Expand Down

0 comments on commit 8c85a91

Please sign in to comment.