From: David Edelsohn Date: Sat, 24 Nov 2001 06:44:11 +0000 (+0000) Subject: rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=134c32f6de3386ce5d05eb481389c959f829903b;p=gcc.git rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX format. * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX format. * rs6000.md (cmptf): Fix typo. From-SVN: r47298 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54e153dee00..eaf2d3657e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-11-23 David Edelsohn + + * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX + format. + * rs6000.md (cmptf): Fix typo. + 2001-11-23 Richard Sandiford * final.c (output_addr_const): Output PC as '.' even if !flag_pic. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 93fe5f28443..7f524f8735c 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -5161,10 +5161,9 @@ print_operand (file, x, code) if (! INT_P (x)) output_operand_lossage ("invalid %%v value"); else - { - fprintf (file, "0x%x", (INT_LOWPART (x) >> 16) & 0xffff); - return; - } + fprintf (file, HOST_WIDE_INT_PRINT_HEX, + (INT_LOWPART (x) >> 16) & 0xffff); + return; case 'U': /* Print `u' if this has an auto-increment or auto-decrement. */ diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 3cb1e2d3ef3..ef50cd17051 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -9915,7 +9915,6 @@ (define_expand "cmptf" [(set (cc0) (compare (match_operand:TF 0 "gpc_reg_operand" "") (match_operand:TF 1 "gpc_reg_operand" "")))] - "DEFAULT_ABI == ABI_AIX && TARGET_HARD_FLOAT && TARGET_LONG_DOUBLE_128" " {