Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
URL:
https://cgit.FreeBSD.org/src/commit/?id=3Df276adc148433d009d198c2ebccdd3303=
377e237

commit f276adc148433d009d198c2ebccdd3303377e237
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-17 20:20:47 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-17 20:20:47 +0000

    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

 lib/libcompiler_rt/Makefile.inc | 33 ++++++++++++++++++++++++++++-----
 1 file changed, 28 insertions(+), 5 deletions(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>