Commit 7bf0a593 by Andrey Petrov Committed by Richard Henderson

* optabs.c (expand_float): Search wider integer modes first.

From-SVN: r62535
parent 01e4596e
2003-02-07 Andrey Petrov <petrov@netbsd.org>
* optabs.c (expand_float): Search wider integer modes first.
2003-02-07 Bob Wilson <bob.wilson@acm.org> 2003-02-07 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
......
...@@ -4807,10 +4807,10 @@ expand_float (to, from, unsignedp) ...@@ -4807,10 +4807,10 @@ expand_float (to, from, unsignedp)
wider mode. If the integer mode is wider than the mode of FROM, wider mode. If the integer mode is wider than the mode of FROM,
we can do the conversion signed even if the input is unsigned. */ we can do the conversion signed even if the input is unsigned. */
for (imode = GET_MODE (from); imode != VOIDmode;
imode = GET_MODE_WIDER_MODE (imode))
for (fmode = GET_MODE (to); fmode != VOIDmode; for (fmode = GET_MODE (to); fmode != VOIDmode;
fmode = GET_MODE_WIDER_MODE (fmode)) fmode = GET_MODE_WIDER_MODE (fmode))
for (imode = GET_MODE (from); imode != VOIDmode;
imode = GET_MODE_WIDER_MODE (imode))
{ {
int doing_unsigned = unsignedp; int doing_unsigned = unsignedp;
......
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