Commit c141a106 by Richard Stallman

(subst, case COMPARE): Use SELECT_CC_MODE even if HAVE_CC0.

From-SVN: r4291
parent 317417a2
......@@ -3817,11 +3817,13 @@ subst (x, from, to, in_dest, unique_copy)
/* Simplify our comparison, if possible. */
new_code = simplify_comparison (old_code, &op0, &op1);
#if !defined (HAVE_cc0) && defined (EXTRA_CC_MODES)
#ifdef EXTRA_CC_MODES
/* If this machine has CC modes other than CCmode, check to see
if we need to use a different CC mode here. */
compare_mode = SELECT_CC_MODE (new_code, op0, op1);
#endif /* EXTRA_CC_MODES */
#if !defined (HAVE_cc0) && defined (EXTRA_CC_MODES)
/* If the mode changed, we have to change SET_DEST, the mode
in the compare, and the mode in the place SET_DEST is used.
If SET_DEST is a hard register, just build new versions with
......
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