comparison gcc/config/visium/visium-modes.def @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Machine description for Visium.
2 Copyright (C) 2014-2017 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
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)
9 any later version.
10
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.
15
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/>. */
19
20 /* Add any extra modes needed to represent the condition code.
21
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.
26
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
30 conjunction with it.
31
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.
35
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). */
40
41 CC_MODE (CCNZ);
42 CC_MODE (CCC);
43 CC_MODE (CCV);
44 CC_MODE (CCFP);
45 CC_MODE (CCFPE);