Commit 4575a800 by Bob Wilson Committed by Bob Wilson

* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.

From-SVN: r124579
parent 74ed13f5
2007-05-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
2007-05-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_output_literal): Mask out high bits
for floating-point values if HOST_BITS_PER_LONG > 32. Use split_double
......
......@@ -1953,18 +1953,18 @@ xtensa_output_literal (FILE *file, rtx x, enum machine_mode mode, int labelno)
{
case SFmode:
REAL_VALUE_TO_TARGET_SINGLE (r, value_long[0]);
#if HOST_BITS_PER_LONG > 32
value_long[0] &= 0xffffffff;
#endif
if (HOST_BITS_PER_LONG > 32)
value_long[0] &= 0xffffffff;
fprintf (file, "0x%08lx\n", value_long[0]);
break;
case DFmode:
REAL_VALUE_TO_TARGET_DOUBLE (r, value_long);
#if HOST_BITS_PER_LONG > 32
value_long[0] &= 0xffffffff;
value_long[1] &= 0xffffffff;
#endif
if (HOST_BITS_PER_LONG > 32)
{
value_long[0] &= 0xffffffff;
value_long[1] &= 0xffffffff;
}
fprintf (file, "0x%08lx, 0x%08lx\n",
value_long[0], value_long[1]);
break;
......
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