alpha.c (alpha_emit_xfloating_libcall): Call use_reg.
* config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. From-SVN: r172199
This commit is contained in:
parent
483d7ad32f
commit
44f370bf4c
@ -1,3 +1,9 @@
|
||||
2011-04-08 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg.
|
||||
* config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise.
|
||||
* config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise.
|
||||
|
||||
2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR target/48366
|
||||
|
@ -2999,7 +2999,7 @@ alpha_emit_xfloating_libcall (rtx func, rtx target, rtx operands[],
|
||||
}
|
||||
|
||||
emit_move_insn (reg, operands[i]);
|
||||
usage = alloc_EXPR_LIST (0, gen_rtx_USE (VOIDmode, reg), usage);
|
||||
use_reg (&usage, reg);
|
||||
}
|
||||
|
||||
switch (GET_MODE (target))
|
||||
|
@ -3311,9 +3311,7 @@ sparc_legitimize_tls_address (rtx addr)
|
||||
insn = emit_call_insn (gen_tgd_call64 (o0, sparc_tls_get_addr (),
|
||||
addr, const1_rtx));
|
||||
}
|
||||
CALL_INSN_FUNCTION_USAGE (insn)
|
||||
= gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, o0),
|
||||
CALL_INSN_FUNCTION_USAGE (insn));
|
||||
use_reg (&CALL_INSN_FUNCTION_USAGE (insn), o0);
|
||||
insn = get_insns ();
|
||||
end_sequence ();
|
||||
emit_libcall_block (insn, ret, o0, addr);
|
||||
@ -3341,9 +3339,7 @@ sparc_legitimize_tls_address (rtx addr)
|
||||
insn = emit_call_insn (gen_tldm_call64 (o0, sparc_tls_get_addr (),
|
||||
const1_rtx));
|
||||
}
|
||||
CALL_INSN_FUNCTION_USAGE (insn)
|
||||
= gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, o0),
|
||||
CALL_INSN_FUNCTION_USAGE (insn));
|
||||
use_reg (&CALL_INSN_FUNCTION_USAGE (insn), o0);
|
||||
insn = get_insns ();
|
||||
end_sequence ();
|
||||
emit_libcall_block (insn, temp3, o0,
|
||||
|
@ -1872,9 +1872,7 @@ xtensa_call_tls_desc (rtx sym, rtx *retp)
|
||||
emit_insn (gen_tls_arg (arg, sym));
|
||||
emit_move_insn (a10, arg);
|
||||
call_insn = emit_call_insn (gen_tls_call (a10, fn, sym, const1_rtx));
|
||||
CALL_INSN_FUNCTION_USAGE (call_insn)
|
||||
= gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, a10),
|
||||
CALL_INSN_FUNCTION_USAGE (call_insn));
|
||||
use_reg (&CALL_INSN_FUNCTION_USAGE (call_insn), a10);
|
||||
insns = get_insns ();
|
||||
end_sequence ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user