diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-09-27 18:32:07 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-09-27 18:32:07 -0400 |
commit | 560f3f8a1cc71fc771fb9c888761eb1384d239fd (patch) | |
tree | d1f9bff776dd54b5149c1491d0e0e37d5a07d57a | |
parent | 627c097fdc146c6d6b468e595b56b2c01bcb1da7 (diff) | |
download | gcc-560f3f8a1cc71fc771fb9c888761eb1384d239fd.zip gcc-560f3f8a1cc71fc771fb9c888761eb1384d239fd.tar.gz gcc-560f3f8a1cc71fc771fb9c888761eb1384d239fd.tar.bz2 |
(expand_fix): Call emit_library_call_value.
From-SVN: r8149
-rw-r--r-- | gcc/optabs.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 6cc8510..5c9c28b 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -3280,7 +3280,7 @@ expand_float (to, from, unsignedp) } #endif - /* No hardware instruction available; call a library rotine to convert from + /* No hardware instruction available; call a library routine to convert from SImode, DImode, or TImode into SFmode, DFmode, XFmode, or TFmode. */ { rtx libfcn; @@ -3564,6 +3564,7 @@ expand_fix (to, from, unsignedp) if (libfcn) { rtx insns; + rtx value; to = protect_from_queue (to, 1); from = protect_from_queue (from, 0); @@ -3573,11 +3574,13 @@ expand_fix (to, from, unsignedp) start_sequence (); - emit_library_call (libfcn, 1, GET_MODE (to), 1, from, GET_MODE (from)); + value = emit_library_call_value (libfcn, NULL_RTX, 1, GET_MODE (to), + + 1, from, GET_MODE (from)); insns = get_insns (); end_sequence (); - emit_libcall_block (insns, target, hard_libcall_value (GET_MODE (to)), + emit_libcall_block (insns, target, value, gen_rtx (unsignedp ? FIX : UNSIGNED_FIX, GET_MODE (to), from)); } |