2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-24 08:10:27 +08:00

rtl.h (CONST_FIXED_P): New predicate macro.

* rtl.h (CONST_FIXED_P): New predicate macro.

From-SVN: r191388
This commit is contained in:
Georg-Johann Lay 2012-09-17 15:08:13 +00:00 committed by Georg-Johann Lay
parent fea4ea737f
commit 78ab1ff46b
2 changed files with 7 additions and 0 deletions

@ -1,3 +1,7 @@
2012-09-17 Georg-Johann Lay <avr@gjlay.de>
* rtl.h (CONST_FIXED_P): New predicate macro.
2012-09-17 Eric Botcazou <ebotcazou@adacore.com>
* tree-cfgcleanup. (cleanup_control_expr_graph) <GIMPLE_COND>: Remove

@ -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)