1 ; Options for the TILE-Gx port of the compiler.
2 ; Copyright (C) 2011-2014 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
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
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/>.
22 config/tilegx/tilegx-opts.h
25 Target RejectNegative Joined Enum(tilegx_cpu) Var(tilegx_cpu) Init(0)
26 -mcpu=CPU Use features of and schedule code for given CPU
29 Name(tilegx_cpu) Type(int)
30 Known TILE-Gx CPUs (for use with the -mcpu= option):
33 Enum(tilegx_cpu) String(tilegx) Value(0)
36 Target Report RejectNegative Negative(m64) Mask(32BIT)
37 Compile with 32 bit longs and pointers.
40 Target Report RejectNegative Negative(m32) InverseMask(32BIT, 64BIT)
41 Compile with 64 bit longs and pointers.
44 Target RejectNegative Joined Enum(cmodel) Var(tilegx_cmodel) Init(CM_SMALL)
45 Use given TILE-Gx code model
48 Name(cmodel) Type(enum cmodel)
49 Known code models (for use with the -mcmodel= option):
52 Enum(cmodel) String(small) Value(CM_SMALL)
55 Enum(cmodel) String(large) Value(CM_LARGE)