]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/sparc/sparc.opt
opt-functions.awk (var_type): New function.
[thirdparty/gcc.git] / gcc / config / sparc / sparc.opt
1 ; Options for the SPARC port of the compiler
2 ;
3 ; Copyright (C) 2005 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 2, 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 COPYING. If not, write to the Free
19 ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 ; 02111-1307, USA.
21
22 mfpu
23 Target Report Mask(FPU)
24 Use hardware FP
25
26 mhard-float
27 Target RejectNegative Mask(FPU) MaskExists
28 Use hardware FP
29
30 msoft-float
31 Target RejectNegative InverseMask(FPU)
32 Do not use hardware FP
33
34 munaligned-doubles
35 Target Report Mask(UNALIGNED_DOUBLES)
36 Assume possible double misalignment
37
38 mimpure-text
39 Target Report
40 Pass -assert pure-text to linker
41
42 mapp-regs
43 Target Report Mask(APP_REGS)
44 Use ABI reserved registers
45
46 mhard-quad-float
47 Target Report RejectNegative Mask(HARD_QUAD)
48 Use hardware quad FP instructions
49
50 msoft-quad-float
51 Target Report RejectNegative InverseMask(HARD_QUAD)
52 Do not use hardware quad fp instructions
53
54 mv8plus
55 Target Report Mask(V8PLUS)
56 Compile for V8+ ABI
57
58 mvis
59 Target Report Mask(VIS)
60 Use UltraSPARC Visual Instruction Set extensions
61
62 mptr64
63 Target Report RejectNegative Mask(PTR64)
64 Pointers are 64-bit
65
66 mptr32
67 Target Report RejectNegative InverseMask(PTR64)
68 Pointers are 32-bit
69
70 m64
71 Target Report RejectNegative Mask(64BIT)
72 Use 64-bit ABI
73
74 m32
75 Target Report RejectNegative InverseMask(64BIT)
76 Use 32-bit ABI
77
78 mstack-bias
79 Target Report Mask(STACK_BIAS)
80 Use stack bias
81
82 mfaster-structs
83 Target Report Mask(FASTER_STRUCTS)
84 Use structs on stronger alignment for double-word copies
85
86 mrelax
87 Target
88 Optimize tail call instructions in assembler and linker
89
90 mcpu=
91 Target RejectNegative Joined
92 Use features of and schedule code for given CPU
93
94 mtune=
95 Target RejectNegative Joined
96 Schedule code for given CPU
97
98 mcmodel=
99 Target RejectNegative Joined Var(sparc_cmodel_string)
100 Use given SPARC-V9 code model
101
102
103 Mask(LITTLE_ENDIAN)
104 ;; Generate code for little-endian
105
106 Mask(LONG_DOUBLE_128)
107 ;; Use 128-bit long double
108
109 Mask(SPARCLITE)
110 ;; Generate code for SPARClite
111
112 Mask(SPARCLET)
113 ;; Generate code for SPARClet
114
115 Mask(V8)
116 ;; Generate code for SPARC-V8
117
118 Mask(V9)
119 ;; Generate code for SPARC-V9
120
121 Mask(DEPRECATED_V8_INSNS)
122 ;; Generate code that uses the V8 instructions deprecated
123 ;; in the V9 architecture.