OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [gcc/] [gcc/] [config/] [riscv/] [riscv.opt] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
; Options for the MIPS port of the compiler
2
;
3
; Copyright (C) 2005, 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
4
;
5
; This file is part of GCC.
6
;
7
; GCC is free software; you can redistribute it and/or modify it under
8
; the terms of the GNU General Public License as published by the Free
9
; Software Foundation; either version 3, or (at your option) any later
10
; version.
11
;
12
; GCC is distributed in the hope that it will be useful, but WITHOUT
13
; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14
; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
15
; License for more details.
16
;
17
; You should have received a copy of the GNU General Public License
18
; along with GCC; see the file COPYING3.  If not see
19
; .
20
 
21
m32
22
Target RejectNegative Mask(32BIT)
23
Generate RV32 code
24
 
25
m64
26
Target RejectNegative InverseMask(32BIT, 64BIT)
27
Generate RV64 code
28
 
29
mbranch-cost=
30
Target RejectNegative Joined UInteger Var(riscv_branch_cost)
31
-mbranch-cost=COST      Set the cost of branches to roughly COST instructions
32
 
33
mhard-float
34
Target Report RejectNegative InverseMask(SOFT_FLOAT_ABI, HARD_FLOAT_ABI)
35
Allow the use of hardware floating-point ABI and instructions
36
 
37
mmemcpy
38
Target Report Mask(MEMCPY)
39
Don't optimize block moves
40
 
41
mplt
42
Target Report Var(TARGET_PLT) Init(1)
43
When generating -fpic code, allow the use of PLTs. Ignored for fno-pic.
44
 
45
msoft-float
46
Target Report RejectNegative Mask(SOFT_FLOAT_ABI)
47
Prevent the use of all hardware floating-point instructions
48
 
49
mno-fdiv
50
Target Report RejectNegative Mask(NO_FDIV)
51
Don't use hardware floating-point divide and square root instructions
52
 
53
mfdiv
54
Target Report RejectNegative InverseMask(NO_FDIV, FDIV)
55
Use hardware floating-point divide and square root instructions
56
 
57
march=
58
Target RejectNegative Joined Var(riscv_arch_string)
59
-march=                 Generate code for given RISC-V ISA (e.g. RV64IM)
60
 
61
mtune=
62
Target RejectNegative Joined Var(riscv_tune_string)
63
-mtune=PROCESSOR        Optimize the output for PROCESSOR
64
 
65
msmall-data-limit=
66
Target Joined Separate UInteger Var(g_switch_value) Init(8)
67
-msmall-data-limit=     Put global and static data smaller than  bytes into a special section (on some targets)
68
 
69
matomic
70
Target Report Mask(ATOMIC)
71
Use hardware atomic memory instructions.
72
 
73
mmuldiv
74
Target Report Mask(MULDIV)
75
Use hardware instructions for integer multiplication and division.
76
 
77
mrvc
78
Target Report Mask(RVC)
79
Use compressed instruction encoding
80
 
81
msave-restore
82
Target Report Mask(SAVE_RESTORE)
83
Use smaller but slower prologue and epilogue code
84
 
85
mlra
86
Target Report Var(riscv_lra_flag) Init(0) Save
87
Use LRA instead of reload
88
 
89
mcmodel=
90
Target RejectNegative Joined Var(riscv_cmodel_string)
91
Use given RISC-V code model (medlow or medany)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.