Commit 33ab8de0 by Richard Henderson Committed by Richard Henderson

* reload1.c (reload_cse_regs): Call bzero instead of looping.

From-SVN: r20530
parent bf20f341
Tue Jun 16 22:58:40 1998 Richard Henderson <rth@cygnus.com>
* reload1.c (reload_cse_regs): Call bzero instead of looping.
Tue Jun 16 18:30:35 1998 Jim Wilson <wilson@cygnus.com> Tue Jun 16 18:30:35 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (stripattributes): Prepend '*' to the section name. * dwarf2out.c (stripattributes): Prepend '*' to the section name.
......
...@@ -8165,8 +8165,7 @@ reload_cse_regs (first) ...@@ -8165,8 +8165,7 @@ reload_cse_regs (first)
init_alias_analysis (); init_alias_analysis ();
reg_values = (rtx *) alloca (FIRST_PSEUDO_REGISTER * sizeof (rtx)); reg_values = (rtx *) alloca (FIRST_PSEUDO_REGISTER * sizeof (rtx));
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) bzero (reg_values, FIRST_PSEUDO_REGISTER * sizeof (rtx));
reg_values[i] = 0;
/* Create our EXPR_LIST structures on reload_obstack, so that we can /* Create our EXPR_LIST structures on reload_obstack, so that we can
free them when we are done. */ free them when we are done. */
...@@ -8483,8 +8482,7 @@ reload_cse_simplify_set (set, insn) ...@@ -8483,8 +8482,7 @@ reload_cse_simplify_set (set, insn)
dclass = REGNO_REG_CLASS (dreg); dclass = REGNO_REG_CLASS (dreg);
/* If memory loads are cheaper than register copies, don't change /* If memory loads are cheaper than register copies, don't change them. */
them. */
if (GET_CODE (src) == MEM if (GET_CODE (src) == MEM
&& MEMORY_MOVE_COST (GET_MODE (src), dclass, 1) < 2) && MEMORY_MOVE_COST (GET_MODE (src), dclass, 1) < 2)
return 0; return 0;
......
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