aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2018-01-23 23:06:48 +0000
committerJim Wilson <wilson@gcc.gnu.org>2018-01-23 15:06:48 -0800
commit0ce42fe12b8e909f30bd57ab24e739d7d6218650 (patch)
treec81447dc4719ae395b048f87780595ce6d4ccd2b /gcc/predict.c
parent0889f16859b68006ddc5dd4d9658b2c6fb93083c (diff)
downloadgcc-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/predict.c')
0 files changed, 0 insertions, 0 deletions