Undo previous delta - always display large constants in decimal.

From-SVN: r26293
This commit is contained in:
Nick Clifton 1999-04-08 10:16:12 +00:00 committed by Nick Clifton
parent 09608fa2b0
commit 36ba9cb8d2
2 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,8 @@
Thu Apr 8 09:37:40 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.c (arm_print_operand): Undo previous change -
always print large constants in decimal.
Thu Apr 8 10:22:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (host_xm_file, build_xm_file): Include hwint.h.

View File

@ -5703,11 +5703,7 @@ arm_print_operand (stream, x, code)
{
HOST_WIDE_INT val;
val = ARM_SIGN_EXTEND (~ INTVAL (x));
if (val < -1000 || val > 1000)
fprintf (stream, HOST_WIDE_INT_PRINT_HEX, val);
else
fprintf (stream, HOST_WIDE_INT_PRINT_DEC, val);
fprintf (stream, HOST_WIDE_INT_PRINT_DEC, val);
}
else
{
@ -5737,10 +5733,7 @@ arm_print_operand (stream, x, code)
else
{
fputc ('#', stream);
if (val < -1000 || val > 1000)
fprintf (stream, HOST_WIDE_INT_PRINT_HEX, val);
else
fprintf (stream, HOST_WIDE_INT_PRINT_DEC, val);
fprintf (stream, HOST_WIDE_INT_PRINT_DEC, val);
}
}
}