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
..
2020-07-12 01:11:48 +00:00
2018-09-19 06:42:05 +00:00
2020-05-04 17:16:30 +00:00
2020-03-29 02:40:03 +00:00
2019-06-29 18:41:40 +00:00
2020-05-20 20:58:48 +00:00
2020-01-25 21:16:45 +00:00
2020-02-19 17:09:08 +00:00
2020-07-10 19:58:07 +00:00
2020-06-24 01:51:05 +00:00
2020-06-22 22:59:03 +00:00
2020-07-15 13:26:15 +00:00
2020-06-17 10:42:20 +00:00
2020-07-07 19:09:38 +00:00
2020-06-22 07:46:24 +00:00
2020-06-17 11:57:48 +00:00
2020-04-24 05:05:58 +00:00
2020-05-21 21:00:46 +00:00
2020-06-09 05:43:51 +00:00