Commit 4926b75a by Jeffrey A Law Committed by Jeff Law

emit-rtl.c (gen_lowpart_common): Handle more case where converting a CONST_INT into SFmode.

        * emit-rtl.c (gen_lowpart_common): Handle more case where converting
        a CONST_INT into SFmode.

From-SVN: r17498
parent c6aded7c
Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
* emit-rtl.c (gen_lowpart_common): Handle more case where converting
a CONST_INT into SFmode.
Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com> Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
* flags.h: New flag (optimize_size). * flags.h: New flag (optimize_size).
......
...@@ -795,14 +795,10 @@ gen_lowpart_common (mode, x) ...@@ -795,14 +795,10 @@ gen_lowpart_common (mode, x)
#endif #endif
/* We need an extra case for machines where HOST_BITS_PER_WIDE_INT is the /* We need an extra case for machines where HOST_BITS_PER_WIDE_INT is the
same as sizeof (double), such as the alpha. We only handle the same as sizeof (double) or when sizeof (float) is larger than the
REAL_ARITHMETIC case, which is easy. Testing HOST_BITS_PER_WIDE_INT size of a word on the target machine. */
is not strictly necessary, but is done to restrict this code to cases
where it is known to work. */
#ifdef REAL_ARITHMETIC #ifdef REAL_ARITHMETIC
else if (mode == SFmode else if (mode == SFmode && GET_CODE (x) == CONST_INT)
&& GET_CODE (x) == CONST_INT
&& GET_MODE_BITSIZE (mode) * 2 == HOST_BITS_PER_WIDE_INT)
{ {
REAL_VALUE_TYPE r; REAL_VALUE_TYPE r;
HOST_WIDE_INT i; HOST_WIDE_INT i;
......
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