Commit | Line | Data |
---|---|---|
e23eba97 NC |
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 | |
4 | @c man end | |
5 | ||
6 | @ifset GENERIC | |
7 | @page | |
8 | @node RISC-V-Dependent | |
9 | @chapter RISC-V Dependent Features | |
10 | @end ifset | |
11 | @ifclear GENERIC | |
12 | @node Machine Dependencies | |
13 | @chapter RISC-V Dependent Features | |
14 | @end ifclear | |
15 | ||
16 | @cindex RISC-V support | |
17 | @menu | |
4f7eddc4 | 18 | * RISC-V-Opts:: RISC-V Options |
e23eba97 NC |
19 | @end menu |
20 | ||
4f7eddc4 | 21 | @node RISC-V-Opts |
e23eba97 NC |
22 | @section Options |
23 | ||
24 | The following table lists all availiable RISC-V specific options | |
25 | ||
26 | @c man begin OPTIONS | |
27 | @table @gcctabopt | |
e23eba97 | 28 | |
4f7eddc4 PD |
29 | @cindex @samp{-march=ISA} option, RISC-V |
30 | @item -march=ISA | |
2922d21d AW |
31 | Select the base isa, as specified by ISA. For example -march=rv32ima. |
32 | ||
33 | @cindex @samp{-mabi=ABI} option, RISC-V | |
34 | @item -mabi=ABI | |
35 | Selects the ABI, which is either "ilp32" or "lp64", optionally followed | |
36 | by "f", "d", or "q" to indicate single-precision, double-precision, or | |
37 | quad-precision floating-point calling convention, or none to indicate | |
38 | the soft-float calling convention. | |
e23eba97 NC |
39 | |
40 | @end table | |
41 | @c man end |