]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rtl.h (CONST_FIXED_P): New predicate macro.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 17 Sep 2012 15:08:13 +0000 (15:08 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 17 Sep 2012 15:08:13 +0000 (15:08 +0000)
* rtl.h (CONST_FIXED_P): New predicate macro.

From-SVN: r191388

gcc/ChangeLog
gcc/rtl.h

index 587f878be60eb7e14fdf63423e55eace68396fdd..2dc31a55248ea23f0acfd437ac9544aa750bd3e3 100644 (file)
@@ -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
index cf52efb638912706e4faefda3232bc623ef9b903..43e5980936c1e27cc4a82bb6a631e7268a59c1f6 100644 (file)
--- 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)