Commit 045572c7 by Geoffrey Keating Committed by Geoffrey Keating

rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when…

rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when HOST_BITS_PER_WIDE_INT is < 64.

	* config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
	warnings about unused operands when HOST_BITS_PER_WIDE_INT is
	< 64.
	(rs6000_emit_cmove): Use real_isinf not target_isinf.

From-SVN: r57210
parent 171d2f50
2002-09-16 Geoffrey Keating <geoffk@redhat.com>
* config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
warnings about unused operands when HOST_BITS_PER_WIDE_INT is
< 64.
(rs6000_emit_cmove): Use real_isinf not target_isinf.
2002-09-16 Kazu Hirata <kazu@cs.umass.edu> 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
* calls.c (emit_library_call_value_1): Don't refer to * calls.c (emit_library_call_value_1): Don't refer to
......
...@@ -1772,6 +1772,8 @@ build_mask64_2_operands (in, out) ...@@ -1772,6 +1772,8 @@ build_mask64_2_operands (in, out)
out[2] = GEN_INT (shift); out[2] = GEN_INT (shift);
out[3] = GEN_INT (m2); out[3] = GEN_INT (m2);
#else #else
(void)in;
(void)out;
abort (); abort ();
#endif #endif
} }
...@@ -8529,7 +8531,7 @@ rs6000_emit_cmove (dest, op, true_cond, false_cond) ...@@ -8529,7 +8531,7 @@ rs6000_emit_cmove (dest, op, true_cond, false_cond)
would treat EQ different to UNORDERED, we can't do it. */ would treat EQ different to UNORDERED, we can't do it. */
if (! flag_unsafe_math_optimizations if (! flag_unsafe_math_optimizations
&& code != GT && code != UNGE && code != GT && code != UNGE
&& (GET_CODE (op1) != CONST_DOUBLE || target_isinf (c1)) && (GET_CODE (op1) != CONST_DOUBLE || real_isinf (&c1))
/* Constructs of the form (a OP b ? a : b) are safe. */ /* Constructs of the form (a OP b ? a : b) are safe. */
&& ((! rtx_equal_p (op0, false_cond) && ! rtx_equal_p (op1, false_cond)) && ((! rtx_equal_p (op0, false_cond) && ! rtx_equal_p (op1, false_cond))
|| (! rtx_equal_p (op0, true_cond) || (! rtx_equal_p (op0, true_cond)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment