gcc/libgcc/config
Kito Cheng 09baee1ab1 RISC-V: Add RV32E support.
Kito Cheng <kito.cheng@gmail.com>
	Monk Chiang  <sh.chiang04@gmail.com>

	gcc/
	* common/config/riscv/riscv-common.c (riscv_parse_arch_string):
	Add support to parse rv32e*.  Clear MASK_RVE for rv32i and rv64i.
	* config.gcc (riscv*-*-*): Add support for rv32e* and ilp32e.
	* config/riscv/riscv-c.c (riscv_cpu_cpp_builtins): Define
	__riscv_32e when TARGET_RVE.  Handle ABI_ILP32E as soft-float ABI.
	* config/riscv/riscv-opts.h (riscv_abi_type): Add ABI_ILP32E.
	* config/riscv/riscv.c (riscv_compute_frame_info): When TARGET_RVE,
	compute save_libcall_adjustment properly.
	(riscv_option_override): Call error if TARGET_RVE and not ABI_ILP32E.
	(riscv_conditional_register_usage): Handle TARGET_RVE and ABI_ILP32E.
	* config/riscv/riscv.h (UNITS_PER_FP_ARG): Handle ABI_ILP32E.
	(STACK_BOUNDARY, ABI_STACK_BOUNDARY): Handle TARGET_RVE.
	(GP_REG_LAST, MAX_ARGS_IN_REGISTERS): Likewise.
	(ABI_SPEC): Handle mabi=ilp32e.
	* config/riscv/riscv.opt (abi_type): Add ABI_ILP32E.
	(RVE): Add RVE mask.
	* doc/invoke.texi (RISC-V options) <-mabi>: Add ilp32e info.
	<-march>: Add rv32e as an example.

	gcc/testsuite/
	* gcc.dg/stack-usage-1.c: Add support for rv32e.

	libgcc/
	* config/riscv/save-restore.S: Add support for rv32e.

Co-Authored-By: Jim Wilson <jimw@sifive.com>
Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com>

From-SVN: r260384
2018-05-18 15:53:55 -07:00
..
aarch64 SVE unwinding 2018-01-13 17:56:52 +00:00
alpha Update copyright years. 2018-01-03 11:03:58 +01:00
arc [ARC] Add support for reduced register file set 2018-01-26 12:34:00 +01:00
arm [arm][1/2] Remove support for deprecated -march=armv5 and armv5e 2018-05-18 13:08:16 +00:00
avr Update copyright years. 2018-01-03 11:03:58 +01:00
bfin Update copyright years. 2018-01-03 11:03:58 +01:00
c6x Update copyright years. 2018-01-03 11:03:58 +01:00
cr16 Update copyright years. 2018-01-03 11:03:58 +01:00
cris Update copyright years. 2018-01-03 11:03:58 +01:00
epiphany Update copyright years. 2018-01-03 11:03:58 +01:00
fr30 Update copyright years. 2018-01-03 11:03:58 +01:00
frv Update copyright years. 2018-01-03 11:03:58 +01:00
ft32 Update copyright years. 2018-01-03 11:03:58 +01:00
h8300 Update copyright years. 2018-01-03 11:03:58 +01:00
i386 config.gcc: Support "goldmont-plus". 2018-05-17 10:13:23 +02:00
ia64 Update copyright years. 2018-01-03 11:03:58 +01:00
iq2000 Update copyright years. 2018-01-03 11:03:58 +01:00
libbid Update copyright years. 2018-01-03 11:03:58 +01:00
lm32 Update copyright years. 2018-01-03 11:03:58 +01:00
m32c Update copyright years. 2018-01-03 11:03:58 +01:00
m32r Update copyright years. 2018-01-03 11:03:58 +01:00
m68k Update copyright years. 2018-01-03 11:03:58 +01:00
mcore Update copyright years. 2018-01-03 11:03:58 +01:00
microblaze Update copyright years. 2018-01-03 11:03:58 +01:00
mips Update copyright years. 2018-01-03 11:03:58 +01:00
mmix Update copyright years. 2018-01-03 11:03:58 +01:00
moxie Update copyright years. 2018-01-03 11:03:58 +01:00
msp430 Update copyright years. 2018-01-03 11:03:58 +01:00
nds32 [NDS32] Fix incorrect settings in sfp-machine.h and t-nds32-newlib for hard fp. 2018-04-25 12:08:14 +00:00
nios2 Update copyright years. 2018-01-03 11:03:58 +01:00
nvptx Update copyright years. 2018-01-03 11:03:58 +01:00
pa fptr.c (_dl_read_access_allowed): New. 2018-03-07 00:17:32 +00:00
pdp11
riscv RISC-V: Add RV32E support. 2018-05-18 15:53:55 -07:00
rl78 rl78.md: New define_expand "anddi3". 2018-01-22 19:23:15 +00:00
rs6000 PR85532, crtend.o built without --enable-initfini-array has bad .eh_frame 2018-04-27 18:36:39 +09:30
rx Update copyright years. 2018-01-03 11:03:58 +01:00
s390 Update copyright years. 2018-01-03 11:03:58 +01:00
score Update copyright years. 2018-01-03 11:03:58 +01:00
sh Update copyright years. 2018-01-03 11:03:58 +01:00
sol2 Update copyright years. 2018-01-03 11:03:58 +01:00
sparc Update copyright years. 2018-01-03 11:03:58 +01:00
spu Update copyright years. 2018-01-03 11:03:58 +01:00
stormy16 Update copyright years. 2018-01-03 11:03:58 +01:00
tilegx
tilepro Update copyright years. 2018-01-03 11:03:58 +01:00
v850 Update copyright years. 2018-01-03 11:03:58 +01:00
vax Update copyright years. 2018-01-03 11:03:58 +01:00
visium Update copyright years. 2018-01-03 11:03:58 +01:00
vms Update copyright years. 2018-01-03 11:03:58 +01:00
xtensa libgcc: xtensa: fix build with -mtext-section-literals 2018-02-20 20:55:56 +00:00
darwin-64.c Update copyright years. 2018-01-03 11:03:58 +01:00
darwin-crt-tm.c Update copyright years. 2018-01-03 11:03:58 +01:00
darwin-crt3.c Update copyright years. 2018-01-03 11:03:58 +01:00
gthr-lynx.h Update copyright years. 2018-01-03 11:03:58 +01:00
gthr-rtems.h Update copyright years. 2018-01-03 11:03:58 +01:00
gthr-vxworks.h Update copyright years. 2018-01-03 11:03:58 +01:00
hardfp.c Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-glibc.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin [Darwin] fix PR67710 by updating 'as' specs to handle newer assembler versions. 2016-11-27 15:07:22 +00:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp Update copyright years. 2018-01-03 11:03:58 +01:00
t-hardfp-sfdf Update copyright years. 2018-01-03 11:03:58 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2018-01-03 11:03:58 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2018-01-03 11:03:58 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia Update copyright years. 2018-01-03 11:03:58 +01:00
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2018-01-03 11:03:58 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Update copyright years. 2018-01-03 11:03:58 +01:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxworks t-vxworks (LIBGCC2_INCLUDES): Start with -I. 2017-08-01 13:23:06 +00:00
t-vxworks7 t-vxworks (LIBGCC2_INCLUDES): Start with -I. 2017-08-01 13:23:06 +00:00
unwind-dw2-fde-darwin.c Update copyright years. 2018-01-03 11:03:58 +01:00
vxlib-tls.c Update copyright years. 2018-01-03 11:03:58 +01:00
vxlib.c Update copyright years. 2018-01-03 11:03:58 +01:00