1 ; Options for the TILE-Gx port of the compiler.
2 ; Copyright (C) 2011-2022 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 RejectNegative Negative(m64) Mask(32BIT)
37 Compile with 32 bit longs and pointers.
40 Target RejectNegative Negative(m32) InverseMask(32BIT, 64BIT)
41 Compile with 64 bit longs and pointers.
44 Target RejectNegative Mask(BIG_ENDIAN)
45 Use big-endian byte order.
48 Target RejectNegative InverseMask(BIG_ENDIAN)
49 Use little-endian byte order.
52 Target RejectNegative Joined Enum(cmodel) Var(tilegx_cmodel) Init(CM_SMALL)
53 Use given TILE-Gx code model.
56 Name(cmodel) Type(enum cmodel)
57 Known code models (for use with the -mcmodel= option):
60 Enum(cmodel) String(small) Value(CM_SMALL)
63 Enum(cmodel) String(large) Value(CM_LARGE)