freebsd-dev/contrib/llvm-project
Dimitry Andric fd28fec2f0 Reapply r322168 (partially, by br):
o Replace __riscv__ with __riscv
o Replace __riscv64 with (__riscv && __riscv_xlen == 64)

This is required to support new GCC 7.1 compiler.
This is compatible with current GCC 6.1 compiler.

RISC-V is extensible ISA and the idea here is to have built-in define
per each extension, so together with __riscv we will have some subset
of these as well (depending on -march string passed to compiler):

__riscv_compressed
__riscv_atomic
__riscv_mul
__riscv_div
__riscv_muldiv
__riscv_fdiv
__riscv_fsqrt
__riscv_float_abi_soft
__riscv_float_abi_single
__riscv_float_abi_double
__riscv_cmodel_medlow
__riscv_cmodel_medany
__riscv_cmodel_pic
__riscv_xlen

Reviewed by:	ngie
Sponsored by:	DARPA, AFRL

Differential Revision:	https://reviews.freebsd.org/D11901
2020-08-02 18:27:59 +00:00
..
clang Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 22:23:32 +00:00
compiler-rt Reapply r322168 (partially, by br): 2020-08-02 18:27:59 +00:00
libcxx Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 21:22:58 +00:00
libunwind Reapply r310365 (by emaste): 2020-08-02 18:12:14 +00:00
lld Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 22:23:32 +00:00
lldb Reapply r311164: 2020-08-02 18:16:04 +00:00
llvm Reapply r311165: 2020-08-02 18:18:16 +00:00
openmp Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 22:23:32 +00:00
FREEBSD-Xlist Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-07-31 21:22:58 +00:00