Skip to content

Commit

Permalink
[libc][math][c23] Temporarily disable float16 on RISC-V (#94984)
Browse files Browse the repository at this point in the history
  • Loading branch information
overmighty authored Jun 10, 2024
1 parent dbc99e9 commit c5b68a9
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 c5b68a9

Please sign in to comment.