Commit a99503b1 by Stan Cox Committed by Jeff Law

jump.c: (optimize_jump): Don't use the return register as a source1 of a conditional move.

        * jump.c: (optimize_jump): Don't use the return register as a
        source1 of a conditional move.

From-SVN: r17123
parent e13c943c
Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
* jump.c: (optimize_jump): Don't use the return register as a
source1 of a conditional move.
Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com> Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
* sparc.c (DF_MODES): Or the mask not the bit number. * sparc.c (DF_MODES): Or the mask not the bit number.
......
...@@ -1198,6 +1198,10 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) ...@@ -1198,6 +1198,10 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
rtx cond0, cond1, aval, bval; rtx cond0, cond1, aval, bval;
rtx target; rtx target;
if (SMALL_REGISTER_CLASSES
&& FUNCTION_VALUE_REGNO_P (REGNO (temp3)))
temp3 = temp1;
/* Copy the compared variables into cond0 and cond1, so that /* Copy the compared variables into cond0 and cond1, so that
any side effects performed in or after the old comparison, any side effects performed in or after the old comparison,
will not affect our compare which will come later. */ will not affect our compare which will come later. */
......
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