diff options
author | gjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-17 15:08:13 +0000 |
---|---|---|
committer | gjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-17 15:08:13 +0000 |
commit | fdbe20f6876f87aa0ff7eecff24c4e7fd15148be (patch) | |
tree | 8d2abe3bfe22ece9fd8264d4f8b7200655f63f43 /gcc/rtl.h | |
parent | 2ebfc881dcb0e21ed61983433f570df9118325a4 (diff) | |
download | gcc-fdbe20f6876f87aa0ff7eecff24c4e7fd15148be.tar.gz |
* rtl.h (CONST_FIXED_P): New predicate macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191388 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index cf52efb6389..43e5980936c 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -419,6 +419,9 @@ struct GTY((variable_size)) rtvec_def { /* Predicate yielding nonzero iff X is an rtx for a constant integer. */ #define CONST_INT_P(X) (GET_CODE (X) == CONST_INT) +/* Predicate yielding nonzero iff X is an rtx for a constant fixed-point. */ +#define CONST_FIXED_P(X) (GET_CODE (X) == CONST_FIXED) + /* Predicate yielding true iff X is an rtx for a double-int or floating point constant. */ #define CONST_DOUBLE_P(X) (GET_CODE (X) == CONST_DOUBLE) |