Commit 119b4963 by Jim Wilson Committed by Jim Wilson

RISC-V: Add macro for ilp32e ABI. Cleanup white space.

	gcc/
	* config/riscv/riscv-c.c (riscv_cpu_cpp_builtins): For ABI_ILP32E,
	also define __riscv_abi_rve.  Delete trailing white space.

From-SVN: r264821
parent 5079ff15
2018-10-03 Jim Wilson <jimw@sifive.com>
* config/riscv/riscv-c.c (riscv_cpu_cpp_builtins): For ABI_ILP32E,
also define __riscv_abi_rve. Delete trailing white space.
2018-10-03 Paul Koning <ni1d@arrl.net> 2018-10-03 Paul Koning <ni1d@arrl.net>
Enable LRA register allocator for PDP11. Enable LRA register allocator for PDP11.
...@@ -64,8 +64,11 @@ riscv_cpu_cpp_builtins (cpp_reader *pfile) ...@@ -64,8 +64,11 @@ riscv_cpu_cpp_builtins (cpp_reader *pfile)
switch (riscv_abi) switch (riscv_abi)
{ {
case ABI_ILP32:
case ABI_ILP32E: case ABI_ILP32E:
builtin_define ("__riscv_abi_rve");
gcc_fallthrough ();
case ABI_ILP32:
case ABI_LP64: case ABI_LP64:
builtin_define ("__riscv_float_abi_soft"); builtin_define ("__riscv_float_abi_soft");
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment