freebsd-src/lib/libcompiler_rt
Dimitry Andric f276adc148 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
2024-04-17 22:20:47 +02:00
..
Makefile Merge commit 4bb2416d42eb from llvm-project (by Jessica Clarke): 2023-09-04 09:33:27 +01:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc libcompiler_rt Makefile.inc: update _Float16/__bf16 checks 2024-04-17 22:20:47 +02:00