Commit d57551c7 by Kazu Hirata Committed by Kazu Hirata

calls.c (emit_library_call_value_1): Don't refer to hard_libcall_value.

	* calls.c (emit_library_call_value_1): Don't refer to
	hard_libcall_value.
	* optabs.c (prepare_float_lib_cmp): Likewise.

From-SVN: r57207
parent 36a5eadd
2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
* calls.c (emit_library_call_value_1): Don't refer to
hard_libcall_value.
* optabs.c (prepare_float_lib_cmp): Likewise.
2002-09-16 Geoffrey Keating <geoffk@apple.com> 2002-09-16 Geoffrey Keating <geoffk@apple.com>
* ggc-common.c (ggc_mark_rtx_children_1): Update for changed name * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
......
...@@ -4148,9 +4148,9 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p) ...@@ -4148,9 +4148,9 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p)
emit_move_insn (value, mem_value); emit_move_insn (value, mem_value);
} }
else if (value != 0) else if (value != 0)
emit_move_insn (value, hard_libcall_value (outmode)); emit_move_insn (value, valreg);
else else
value = hard_libcall_value (outmode); value = valreg;
} }
if (ACCUMULATE_OUTGOING_ARGS) if (ACCUMULATE_OUTGOING_ARGS)
......
...@@ -4006,14 +4006,9 @@ prepare_float_lib_cmp (px, py, pcomparison, pmode, punsignedp) ...@@ -4006,14 +4006,9 @@ prepare_float_lib_cmp (px, py, pcomparison, pmode, punsignedp)
if (libfunc == 0) if (libfunc == 0)
abort (); abort ();
emit_library_call (libfunc, LCT_CONST_MAKE_BLOCK, word_mode, 2, x, mode, y,
mode);
/* Immediately move the result of the libcall into a pseudo
register so reload doesn't clobber the value if it needs
the return register for a spill reg. */
result = gen_reg_rtx (word_mode); result = gen_reg_rtx (word_mode);
emit_move_insn (result, hard_libcall_value (word_mode)); emit_library_call_value (libfunc, result, LCT_CONST_MAKE_BLOCK,
word_mode, 2, x, mode, y, mode);
*px = result; *px = result;
*py = const0_rtx; *py = const0_rtx;
*pmode = word_mode; *pmode = word_mode;
......
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