1 /* Machine description for Visium.
2 Copyright (C) 2014-2017 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 /* Add any extra modes needed to represent the condition code.
22 We have a CCNZ mode which is used for implicit comparisons with zero when
23 arithmetic instructions set the condition code. Only the N and Z flags
24 are valid in this mode, which means that only the =,!= and <,>= operators
25 can be used in conjunction with it.
27 We also have a CCCmode which is used by the arithmetic instructions when
28 they explicitly set the C flag (unsigned overflow) and by the bit-test
29 instruction. Only the =,!= and unsigned <,>= operators can be used in
32 We also have a CCVmode which is used by the arithmetic instructions when
33 they explicitly set the V flag (signed overflow). Only the =,!= operators
34 can be used in conjunction with it.
36 We also have two modes to indicate that the condition code is set by the
37 the floating-point unit. One for comparisons which generate an exception
38 if the result is unordered (CCFPEmode) and one for comparisons which never
39 generate such an exception (CCFPmode). */