or1k: Add mrori option, fix option docs

Programming / Compilers / GCC - shorne [138bc75d-0d04-0410-961f-82ee72b054a4] - 21 July 2019 21:00 EDT

gcc/ChangeLog:

- config.gcc (or1k*-*-*): Add mrori and mror to validation.
- doc/invoke.texi (OpenRISC Options): Add mrori option, rewrite all documenation to be more clear.
- config/or1k/elf.opt (mboard=, mnewlib): Rewrite documentation to be more clear.
- config/or1k/or1k.opt (mrori): New option. (mhard-div, msoft-div, mhard-mul, msoft-mul, mcmov, mror, msext, msfimm, mshftimm): Rewrite documentation to be more clear.
- config/or1k/or1k.md (insn_support): Add ror and rori. (enabled): Add conditions for ror and rori. (rotrsi3): Replace condition for shftimm with ror and rori.

gcc/testsuite/ChangeLog:

- gcc.target/or1k/ror-4.c: New file.
- gcc.target/or1k/shftimm-1.c: Update test from rotate to shift as the shftimm option no longer controls rotate.

64ee4f6957b or1k: Add mrori option, fix option docs
gcc/ChangeLog | 14 ++++++++
gcc/config.gcc | 1 +
gcc/config/or1k/elf.opt | 6 ++--
gcc/config/or1k/or1k.md | 14 +++++---
gcc/config/or1k/or1k.opt | 56 ++++++++++++++++++-------------
gcc/config/or1k/predicates.md | 7 ++++
gcc/doc/invoke.texi | 56 +++++++++++++++++--------------
gcc/testsuite/ChangeLog | 6 ++++
gcc/testsuite/gcc.target/or1k/shftimm-1.c | 8 ++---
9 files changed, 107 insertions(+), 61 deletions(-)

Upstream: gcc.gnu.org


  • Share