diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-04-17 20:20:47 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-04-17 20:20:47 +0000 |
commit | f276adc148433d009d198c2ebccdd3303377e237 (patch) | |
tree | 7b15f22e03536ddd8a8c2c7fea23bc2b973c553a /contrib/expat/tests | |
parent | f122045e36dd009ecdc6b69a6f4b751c4b10b443 (diff) | |
download | src-f276adc148433d009d198c2ebccdd3303377e237.tar.gz src-f276adc148433d009d198c2ebccdd3303377e237.zip |
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
Diffstat (limited to 'contrib/expat/tests')
0 files changed, 0 insertions, 0 deletions