1/* VAX extra machine modes.
2   Copyright (C) 2003-2022 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/* We just need to reset the floating point formats.  */
21RESET_FLOAT_FORMAT (SF, vax_f_format);
22RESET_FLOAT_FORMAT (DF, vax_d_format);
23
24/* `DImode' addition and subtraction operations do their calculation
25   on the low and then the high longword with separate instructions,
26   and therefore only usably set N.  */
27CC_MODE (CCN);
28/* Non-arithmetic integer instructions such as MOV or XOR as well as
29   instructions that produce a floating-point result only usably set
30   N and Z.  */
31CC_MODE (CCNZ);
32/* The FFC and FFS instructions only usably set Z.  */
33CC_MODE (CCZ);
34