Update RISC-V documentation and make sure that it is included in the gas info file.

* Makefile.am (CPU_DOCS): Add c-riscv.texi.
	* Makefile.in: Regenerate.
	* doc/all.texi: Set RISCV.
	* doc/as.texinfo: Add RISCV options.
	Add RISC-V-Dependent node.
	Include c-riscv.texi.
	* doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
This commit is contained in:
Palmer Dabbelt
2016-11-04 14:18:06 +00:00
committed by Nick Clifton
parent 88ba72a2df
commit 4f7eddc4d1
6 changed files with 32 additions and 4 deletions

View File

@ -1,3 +1,14 @@
2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
Andrew Waterman <andrew@sifive.com>
* Makefile.am (CPU_DOCS): Add c-riscv.texi.
* Makefile.in: Regenerate.
* doc/all.texi: Set RISCV.
* doc/as.texinfo: Add RISCV options.
Add RISC-V-Dependent node.
Include c-riscv.texi.
* doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
2016-11-03 Graham Markall <graham.markall@embecosm.com> 2016-11-03 Graham Markall <graham.markall@embecosm.com>
* testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm

View File

@ -81,6 +81,7 @@ CPU_DOCS = \
c-pj.texi \ c-pj.texi \
c-ppc.texi \ c-ppc.texi \
c-rl78.texi \ c-rl78.texi \
c-riscv.texi \
c-rx.texi \ c-rx.texi \
c-s390.texi \ c-s390.texi \
c-score.texi \ c-score.texi \

View File

@ -355,6 +355,7 @@ CPU_DOCS = \
c-pj.texi \ c-pj.texi \
c-ppc.texi \ c-ppc.texi \
c-rl78.texi \ c-rl78.texi \
c-riscv.texi \
c-rx.texi \ c-rx.texi \
c-s390.texi \ c-s390.texi \
c-score.texi \ c-score.texi \

View File

@ -63,6 +63,7 @@
@set PJ @set PJ
@set PPC @set PPC
@set RL78 @set RL78
@set RISCV
@set RX @set RX
@set S390 @set S390
@set SCORE @set SCORE

View File

@ -511,6 +511,13 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
[@b{-mint-register=@var{number}}] [@b{-mint-register=@var{number}}]
[@b{-mgcc-abi}|@b{-mrx-abi}] [@b{-mgcc-abi}|@b{-mrx-abi}]
@end ifset @end ifset
@ifset RISCV
@emph{Target RISC-V options:}
[@b{-m32}|@b{-m64}]
[@b{-mrvc}]
[@b{-mhard-float}|@b{-msoft-float}]
@end ifset
@ifset S390 @ifset S390
@emph{Target s390 options:} @emph{Target s390 options:}
@ -7592,6 +7599,9 @@ subject, see the hardware manufacturer's manual.
@ifset RL78 @ifset RL78
* RL78-Dependent:: RL78 Dependent Features * RL78-Dependent:: RL78 Dependent Features
@end ifset @end ifset
@ifset RISCV
* RISC-V-Dependent:: RISC-V Dependent Features
@end ifset
@ifset RX @ifset RX
* RX-Dependent:: RX Dependent Features * RX-Dependent:: RX Dependent Features
@end ifset @end ifset
@ -7819,6 +7829,10 @@ family.
@include c-rl78.texi @include c-rl78.texi
@end ifset @end ifset
@ifset RISCV
@include c-riscv.texi
@end ifset
@ifset RX @ifset RX
@include c-rx.texi @include c-rx.texi
@end ifset @end ifset

View File

@ -15,10 +15,10 @@
@cindex RISC-V support @cindex RISC-V support
@menu @menu
* RISC-V Options:: RISC-V Options * RISC-V-Opts:: RISC-V Options
@end menu @end menu
@node RISC-V Options @node RISC-V-Opts
@section Options @section Options
The following table lists all availiable RISC-V specific options The following table lists all availiable RISC-V specific options
@ -40,8 +40,8 @@ Enables the C ISA subset for compressed instructions.
Select the floating-point ABI, hard-float has F registers while soft-float Select the floating-point ABI, hard-float has F registers while soft-float
doesn't. doesn't.
@cindex @samp{-march=RV{32,64}{G,I}{M,}{A,}{F,}{D,}{C,}} option, RISC-V @cindex @samp{-march=ISA} option, RISC-V
@item -march=RV{32,64}{G,I}{M,}{A,}{F,}{D,}{C,} @item -march=ISA
Select the base isa, as specified by ISA. For example -march=RV32IMA. Select the base isa, as specified by ISA. For example -march=RV32IMA.
@end table @end table