diff options
author | Jan Hubicka <jh@suse.cz> | 2002-01-10 11:21:30 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2002-01-10 10:21:30 +0000 |
commit | 3987b9db30f95cd055f68d302da8e9c474b6feea (patch) | |
tree | e5b6a50b27b2f10f3b1d39f0ed1204c4e8bbd21d /gcc/optabs.c | |
parent | bccd793e46f58b737cb7592f22e2d21c6543b0d8 (diff) | |
download | gcc-3987b9db30f95cd055f68d302da8e9c474b6feea.zip gcc-3987b9db30f95cd055f68d302da8e9c474b6feea.tar.gz gcc-3987b9db30f95cd055f68d302da8e9c474b6feea.tar.bz2 |
optabs.c (expand_fix): Look for wider integer modes first.
* optabs.c (expand_fix): Look for wider integer modes first.
* i386.md (mov?f): Avoid the fake const double trick for medium
memory model.
(min?f*/max?f*): Prohibit memory operands for i387 variant.
(fop_df_4): Disable for SSE compilation.
From-SVN: r48721
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 49ea319..9e26e7f 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -4349,10 +4349,10 @@ expand_fix (to, from, unsignedp) this conversion. If the integer mode is wider than the mode of TO, we can do the conversion either signed or unsigned. */ - for (imode = GET_MODE (to); imode != VOIDmode; - imode = GET_MODE_WIDER_MODE (imode)) - for (fmode = GET_MODE (from); fmode != VOIDmode; - fmode = GET_MODE_WIDER_MODE (fmode)) + for (fmode = GET_MODE (from); fmode != VOIDmode; + fmode = GET_MODE_WIDER_MODE (fmode)) + for (imode = GET_MODE (to); imode != VOIDmode; + imode = GET_MODE_WIDER_MODE (imode)) { int doing_unsigned = unsignedp; |