diff options
author | Andrew Waterman <andrew@sifive.com> | 2018-01-23 23:06:48 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2018-01-23 15:06:48 -0800 |
commit | 0ce42fe12b8e909f30bd57ab24e739d7d6218650 (patch) | |
tree | c81447dc4719ae395b048f87780595ce6d4ccd2b /gcc/tree-ssa-tail-merge.c | |
parent | 0889f16859b68006ddc5dd4d9658b2c6fb93083c (diff) | |
download | gcc-0ce42fe12b8e909f30bd57ab24e739d7d6218650.zip gcc-0ce42fe12b8e909f30bd57ab24e739d7d6218650.tar.gz gcc-0ce42fe12b8e909f30bd57ab24e739d7d6218650.tar.bz2 |
RISC-V: Add -mpreferred-stack-boundary option.
2018-01-23 Andrew Waterman <andrew@sifive.com>
gcc/
* config/riscv/riscv.c (riscv_stack_boundary): New.
(riscv_option_override): Set riscv_stack_boundary. Handle
riscv_preferred_stack_boundary_arg.
* config/riscv/riscv.h (MIN_STACK_BOUNDARY, ABI_STACK_BOUNDARY): New.
(BIGGEST_ALIGNMENT): Set to STACK_BOUNDARY.
(STACK_BOUNDARY): Set to riscv_stack_boundary.
(RISCV_STACK_ALIGN): Use STACK_BOUNDARY.
* config/riscv/riscv.opt (mpreferred-stack-boundary): New.
* doc/invoke.tex (RISC-V Options): Add -mpreferred-stack-boundary.
Co-Authored-By: Jim Wilson <jimw@sifive.com>
From-SVN: r257005
Diffstat (limited to 'gcc/tree-ssa-tail-merge.c')
0 files changed, 0 insertions, 0 deletions