1; Options for the TILE-Gx port of the compiler.
2; Copyright (C) 2011-2020 Free Software Foundation, Inc.
3; Contributed by Walter Lee (walt@tilera.com)
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 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.
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; <http://www.gnu.org/licenses/>.
20
21HeaderInclude
22config/tilegx/tilegx-opts.h
23
24mcpu=
25Target RejectNegative Joined Enum(tilegx_cpu) Var(tilegx_cpu) Init(0)
26-mcpu=CPU	Use features of and schedule code for given CPU.
27
28Enum
29Name(tilegx_cpu) Type(int)
30Known TILE-Gx CPUs (for use with the -mcpu= option):
31
32EnumValue
33Enum(tilegx_cpu) String(tilegx) Value(0)
34
35m32
36Target Report RejectNegative Negative(m64) Mask(32BIT)
37Compile with 32 bit longs and pointers.
38
39m64
40Target Report RejectNegative Negative(m32) InverseMask(32BIT, 64BIT)
41Compile with 64 bit longs and pointers.
42
43mbig-endian
44Target Report RejectNegative Mask(BIG_ENDIAN)
45Use big-endian byte order.
46
47mlittle-endian
48Target Report RejectNegative InverseMask(BIG_ENDIAN)
49Use little-endian byte order.
50
51mcmodel=
52Target RejectNegative Joined Enum(cmodel) Var(tilegx_cmodel) Init(CM_SMALL)
53Use given TILE-Gx code model.
54
55Enum
56Name(cmodel) Type(enum cmodel)
57Known code models (for use with the -mcmodel= option):
58
59EnumValue
60Enum(cmodel) String(small) Value(CM_SMALL)
61
62EnumValue
63Enum(cmodel) String(large) Value(CM_LARGE)
64