Commit ec919c98 by Jim Wilson Committed by Jim Wilson

Fix for IA-64 abort compiling xaaPCache.c from XFree86

Fix for IA-64 abort compiling xaaPCache.c from XFree86
	* unroll.c (final_giv_value): Pass increment through
	extend_value_for_giv before passing it to emit_iv_add_mult.

From-SVN: r36517
parent e0efd58f
2000-09-18 Jim Wilson <wilson@cygnus.com> 2000-09-18 Jim Wilson <wilson@cygnus.com>
* unroll.c (final_giv_value): Pass increment through
extend_value_for_giv before passing it to emit_iv_add_mult.
* function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
paradoxical subreg, then directly substitute the replacement and paradoxical subreg, then directly substitute the replacement and
return. return.
......
...@@ -3349,7 +3349,8 @@ final_giv_value (loop, v) ...@@ -3349,7 +3349,8 @@ final_giv_value (loop, v)
/* Put the final biv value in tem. */ /* Put the final biv value in tem. */
tem = gen_reg_rtx (v->mode); tem = gen_reg_rtx (v->mode);
record_base_value (REGNO (tem), bl->biv->add_val, 0); record_base_value (REGNO (tem), bl->biv->add_val, 0);
emit_iv_add_mult (increment, GEN_INT (n_iterations), emit_iv_add_mult (extend_value_for_giv (v, increment),
GEN_INT (n_iterations),
extend_value_for_giv (v, bl->initial_value), extend_value_for_giv (v, bl->initial_value),
tem, insert_before); tem, insert_before);
......
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