From: Bob Wilson Date: Fri, 25 Apr 2008 18:20:02 +0000 (+0000) Subject: * optabs.c (expand_float): Fix REG_EQUAL for UNSIGNED_FLOAT libcall. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d116398717ba3d7a32fb4065c8ee347405380482;p=gcc.git * optabs.c (expand_float): Fix REG_EQUAL for UNSIGNED_FLOAT libcall. From-SVN: r134673 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60c2a930882..b6824f5ee63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-25 Bob Wilson + + * optabs.c (expand_float): Fix REG_EQUAL for UNSIGNED_FLOAT libcall. + 2008-04-25 H.J. Lu * config/i386/sse.md (mov): Replace SSEMODEI with diff --git a/gcc/optabs.c b/gcc/optabs.c index 11df818fb89..8978a975a41 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5270,7 +5270,8 @@ expand_float (rtx to, rtx from, int unsignedp) end_sequence (); emit_libcall_block (insns, target, value, - gen_rtx_FLOAT (GET_MODE (to), from)); + gen_rtx_fmt_e (unsignedp ? UNSIGNED_FLOAT : FLOAT, + GET_MODE (to), from)); } done: