xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/visium/visium-modes.def (revision fc4f42693f9b1c31f39f9cf50af1bf2010325808)
1/* Machine description for Visium.
2   Copyright (C) 2014-2015 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 3, or (at your option)
9any later version.
10
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3.  If not see
18<http://www.gnu.org/licenses/>.  */
19
20/* Add any extra modes needed to represent the condition code.
21
22   On the Visium, we have a "no-overflow" mode which is used when arithmetic
23   instructions set the condition code.  Different branches are used in this
24   case for some operations.
25
26   We also have a "bit-test" mode which is used when the bit-test instruction
27   sets the condition code.
28
29   We also have two modes to indicate that the condition code is set by the
30   the floating-point unit.  One for comparisons which generate an exception
31   if the result is unordered (CCFPEmode) and one for comparisons which never
32   generate such an exception (CCFPmode).  */
33
34CC_MODE (CC_NOOV);
35CC_MODE (CC_BTST);
36CC_MODE (CCFP);
37CC_MODE (CCFPE);
38