On 11/09/2015 05:59 PM, Steve Ellcey wrote:
Here is a version with the code moved into a new function.  How does
this look?

2015-11-09  Steve Ellcey  <sell...@imgtec.com>

        * optabs.c (prepare_libcall_arg): New function.
        (expand_fixed_convert): Add call to prepare_libcall_arg.

Hold on a moment - I see that emit_library_call_value_1 calls promote_function_mode for arguments. Can you investigate why that doesn't do what you need?


Bernd

Reply via email to