2018-11-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / config / arc / arc-modes.def
blobcc9614b9bdc8dfae42d4ede15944840a510586f4
1 /* Definitions of target machine for GNU compiler, Synopsys DesignWare ARC cpu.
2 Copyright (C) 2002-2018 Free Software Foundation, Inc.
3 Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
4 on behalf of Synopsys Inc.
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
13 GCC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
22 /* Some insns set all condition code flags, some only set the ZNC flags, and
23 some only set the ZN flags. */
25 CC_MODE (CC_ZN);
26 CC_MODE (CC_Z);
27 CC_MODE (CC_C);
28 CC_MODE (CC_FP_GT);
29 CC_MODE (CC_FP_GE);
30 CC_MODE (CC_FP_ORD);
31 CC_MODE (CC_FP_UNEQ);
32 CC_MODE (CC_FPX);
34 /* Vector modes. */
35 VECTOR_MODES (INT, 4); /* V4QI V2HI */
36 VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */
37 VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */
39 /* FPU condition flags. */
40 CC_MODE (CC_FPU);
41 CC_MODE (CC_FPU_UNEQ);