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

From-SVN: r62535
This commit is contained in:
Andrey Petrov 2003-02-07 19:38:04 +00:00 committed by Richard Henderson
parent 01e4596e4e
commit 7bf0a59353
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
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>
* config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this

View File

@ -4807,10 +4807,10 @@ expand_float (to, from, unsignedp)
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. */
for (imode = GET_MODE (from); imode != VOIDmode;
imode = GET_MODE_WIDER_MODE (imode))
for (fmode = GET_MODE (to); fmode != VOIDmode;
fmode = GET_MODE_WIDER_MODE (fmode))
for (fmode = GET_MODE (to); fmode != VOIDmode;
fmode = GET_MODE_WIDER_MODE (fmode))
for (imode = GET_MODE (from); imode != VOIDmode;
imode = GET_MODE_WIDER_MODE (imode))
{
int doing_unsigned = unsignedp;