diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-03 21:13:29 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-03 21:13:29 +0000 |
commit | 1d97a500067aac5a22615a5908a02d3e7a7c915e (patch) | |
tree | 4db5e76c3dc4ba9bc9acb3825530f9e397ea33bf /gcc/machmode.h | |
parent | 76a6e674dcc99316839e64af6262dee504fd1b54 (diff) | |
download | gcc-1d97a500067aac5a22615a5908a02d3e7a7c915e.tar.gz |
* gencodes.c (output_predicate_decls): New function.
(main): Call it.
* machmode.h (GET_MODE_MASK): Arrange for it to be defined
even if it is not the first time machmode.h is #included.
* config/sh/sh.c (fpul_operand): Declare MODE argument.
* tm.texi (PREDICATE_CODES): Document predicate declarations.
* gcc.texi (Copyright): Added 2001.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38673 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index e565cb70d21..230d8b0596a 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -1,5 +1,5 @@ /* Machine mode definitions for GNU C-Compiler; included by rtl.h and tree.h. - Copyright (C) 1991, 1993, 1994, 1996, 1998, 1999, 2000 + Copyright (C) 1991, 1993, 1994, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -96,7 +96,9 @@ extern const unsigned int mode_unit_size[]; extern const unsigned int mode_bitsize[]; #define GET_MODE_BITSIZE(MODE) (mode_bitsize[(int) (MODE)]) -#ifdef HOST_WIDE_INT +#endif /* not HAVE_MACHINE_MODES */ + +#if defined HOST_WIDE_INT && ! defined GET_MODE_MASK /* Get a bitmask containing 1 for all bits in a word that fit within mode MODE. */ @@ -105,7 +107,10 @@ extern const unsigned HOST_WIDE_INT mode_mask_array[]; #define GET_MODE_MASK(MODE) mode_mask_array[(int) (MODE)] -#endif /* HOST_WIDE_INT */ +#endif /* defined (HOST_WIDE_INT) && ! defined GET_MODE_MASK */ + +#if ! defined GET_MODE_WIDER_MODE || ! defined GET_MODE_ALIGNMENT \ + || ! defined GET_CLASS_NARROWEST_MODE /* Get the next wider natural mode (eg, QI -> HI -> SI -> DI -> TI). */ @@ -153,4 +158,5 @@ extern enum machine_mode byte_mode; extern enum machine_mode word_mode; extern enum machine_mode ptr_mode; -#endif /* not HAVE_MACHINE_MODES */ +#endif /* ! defined GET_MODE_WIDER_MODE || ! defined GET_MODE_ALIGNMENT + || ! defined GET_CLASS_NARROWEST_MODE */ |