1 @c Copyright (C) 2016 Free Software Foundation, Inc.
2 @c This is part of the GAS anual.
3 @c For copying conditions, see the file as.texinfo
9 @chapter RISC-V Dependent Features
12 @node Machine Dependencies
13 @chapter RISC-V Dependent Features
16 @cindex RISC-V support
18 * RISC-V Options:: RISC-V Options
24 The following table lists all availiable RISC-V specific options
28 @cindex @samp{-m32} option, RISC-V
29 @cindex @samp{-m64} option, RISC-V
31 Select the base ISA, either RV32 or RV64.
33 @cindex @samp{-mrvc} option, RISC-V
35 Enables the C ISA subset for compressed instructions.
37 @cindex @samp{-msoft-float} option, RISC-V
38 @cindex @samp{-mhard-float} option, RISC-V
39 @item -msoft-float | -mhard-float
40 Select the floating-point ABI, hard-float has F registers while soft-float
43 @cindex @samp{-march=RV{32,64}{G,I}{M,}{A,}{F,}{D,}{C,}} option, RISC-V
44 @item -march=RV{32,64}{G,I}{M,}{A,}{F,}{D,}{C,}
45 Select the base isa, as specified by ISA. For example -march=RV32IMA.