]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/vax/vax-modes.def
m2: Remove uses of {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE
[thirdparty/gcc.git] / gcc / config / vax / vax-modes.def
1 /* VAX extra machine modes.
2 Copyright (C) 2003-2024 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 /* We just need to reset the floating point formats. */
21 RESET_FLOAT_FORMAT (SF, vax_f_format);
22 RESET_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. */
27 CC_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. */
31 CC_MODE (CCNZ);
32 /* The FFC and FFS instructions only usably set Z. */
33 CC_MODE (CCZ);