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

From-SVN: r124579
This commit is contained in:
Bob Wilson 2007-05-09 19:13:59 +00:00 committed by Bob Wilson
parent 74ed13f5c6
commit 4575a800ef
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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;