| 47020df0 | 17-Apr-2024 |
Dimitry Andric <[email protected]> |
libcompiler_rt Makefile.inc: update _Float16/__bf16 checks
Clang supports __bf16 for riscv from version 18.0 onwards, so update the checks for it. While here, rewrite the checks so they are hopefull
libcompiler_rt Makefile.inc: update _Float16/__bf16 checks
Clang supports __bf16 for riscv from version 18.0 onwards, so update the checks for it. While here, rewrite the checks so they are hopefully more readable, and also handle gcc a little better.
In addition, define COMPILER_RT_HAS_FLOAT16 and COMPILER_RT_HAS_BFLOAT16 when these features should be available, since there are some parts in compiler-rt that check for these defines.
PR: 276104 MFC after: 1 month
(cherry picked from commit f276adc148433d009d198c2ebccdd3303377e237)
show more ...
|
| 89ef2b34 | 07-Apr-2024 |
Dimitry Andric <[email protected]> |
libcompiler_rt Makefile.inc: include bsd.compiler.mk to fix build
Apparently libgcc_s has always included libcompiler_rt's Makefile.inc without first including bsd.compiler.mk, even though Makefile.
libcompiler_rt Makefile.inc: include bsd.compiler.mk to fix build
Apparently libgcc_s has always included libcompiler_rt's Makefile.inc without first including bsd.compiler.mk, even though Makefile.inc used COMPILER_TYPE already. It looks like we were just lucky that the expression was not malformed.
PR: 276104 Reported by: Herbert J. Skuhra <[email protected]> MFC after: 1 month
(cherry picked from commit 4c983a2886877a855ac3a2836b15d80356fbb8d4)
show more ...
|
| 24c90784 | 07-Apr-2024 |
Dimitry Andric <[email protected]> |
libcompiler_rt Makefile.inc: don't build bfloat16 support for gcc < 13
Older versions of gcc produce "error: unknown type name '__bf16'".
PR: 276104 MFC after: 1 month
(cherry picked from commit
libcompiler_rt Makefile.inc: don't build bfloat16 support for gcc < 13
Older versions of gcc produce "error: unknown type name '__bf16'".
PR: 276104 MFC after: 1 month
(cherry picked from commit 2e226748a961329471f5b51483318b94c8735f34)
show more ...
|