2019-08-05 Arvind Sankar <nived...@alum.mit.edu> gcc/ChangeLog:
* rtl.h: Fix comment for CONST_DOUBLE_AS_FLOAT_P and move it together with the other CONST_DOUBLE predicates. 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/rtl.h b/gcc/rtl.h index 039ab05f951..28b5a82d651 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -814,6 +814,10 @@ struct GTY(()) rtvec_def { #define CONST_DOUBLE_AS_INT_P(X) \ (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) == VOIDmode) +/* Predicate yielding true iff X is an rtx for a floating point const. */ +#define CONST_DOUBLE_AS_FLOAT_P(X) \ + (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) != VOIDmode) + /* Predicate yielding true iff X is an rtx for a integer const. */ #if TARGET_SUPPORTS_WIDE_INT #define CONST_SCALAR_INT_P(X) \ @@ -823,10 +827,6 @@ struct GTY(()) rtvec_def { (CONST_INT_P (X) || CONST_DOUBLE_AS_INT_P (X)) #endif -/* Predicate yielding true iff X is an rtx for a double-int. */ -#define CONST_DOUBLE_AS_FLOAT_P(X) \ - (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) != VOIDmode) - /* Predicate yielding nonzero iff X is a label insn. */ #define LABEL_P(X) (GET_CODE (X) == CODE_LABEL) -- 2.21.0