PR/56490
[official-gcc.git] / gcc / config / tilegx / tilegx.opt
bloba820c8159c6fd8d9d1d8687a92e0d2bcdf3091dc
1 ; Options for the TILE-Gx port of the compiler.
2 ; Copyright (C) 2011-2013 Free Software Foundation, Inc.
3 ; Contributed by Walter Lee (walt@tilera.com)
5 ; This file is part of GCC.
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.
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 ; for more details.
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 ; <http://www.gnu.org/licenses/>.
21 HeaderInclude
22 config/tilegx/tilegx-opts.h
24 mcpu=
25 Target RejectNegative Joined Enum(tilegx_cpu) Var(tilegx_cpu) Init(0)
26 -mcpu=CPU       Use features of and schedule code for given CPU
28 Enum
29 Name(tilegx_cpu) Type(int)
30 Known TILE-Gx CPUs (for use with the -mcpu= option):
32 EnumValue
33 Enum(tilegx_cpu) String(tilegx) Value(0)
35 m32
36 Target Report RejectNegative Negative(m64) Mask(32BIT)
37 Compile with 32 bit longs and pointers.
39 m64
40 Target Report RejectNegative Negative(m32) InverseMask(32BIT, 64BIT)
41 Compile with 64 bit longs and pointers.
43 mcmodel=
44 Target RejectNegative Joined Enum(cmodel) Var(tilegx_cmodel) Init(CM_SMALL)
45 Use given TILE-Gx code model
47 Enum
48 Name(cmodel) Type(enum cmodel)
49 Known code models (for use with the -mcmodel= option):
51 EnumValue
52 Enum(cmodel) String(small) Value(CM_SMALL)
54 EnumValue
55 Enum(cmodel) String(large) Value(CM_LARGE)