(CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.
authorJim Wilson <wilson@gcc.gnu.org>
Sun, 8 Aug 1993 22:08:50 +0000 (15:08 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Sun, 8 Aug 1993 22:08:50 +0000 (15:08 -0700)
From-SVN: r5112

gcc/config/sparc/sparc.h

index 0e0f83ff6ee8e422a3e8cd11d3297739bda7a9ad..0e4a47567e2546927bd6f65a1eaf380db2cc065a 100644 (file)
@@ -603,8 +603,7 @@ extern char leaf_reg_backmap[];
    Here VALUE is the CONST_DOUBLE rtx itself.  */
 
 #define CONST_DOUBLE_OK_FOR_LETTER_P(VALUE, C) \
-  ((C) == 'G' ? CONST_DOUBLE_HIGH (VALUE) == 0         \
-   && CONST_DOUBLE_LOW (VALUE) == 0                    \
+  ((C) == 'G' ? fp_zero_operand (VALUE)                        \
    : (C) == 'H' ? arith_double_operand (VALUE, DImode) \
    : 0)