rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX format.
authorDavid Edelsohn <edelsohn@gnu.org>
Sat, 24 Nov 2001 06:44:11 +0000 (06:44 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 24 Nov 2001 06:44:11 +0000 (01:44 -0500)
        * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
        format.
        * rs6000.md (cmptf): Fix typo.

From-SVN: r47298

gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md

index 54e153dee00ca3b4df64432c0d12dfe0503f29c4..eaf2d3657e04da8674f2d107ea06ffa12c94e961 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-23  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
+       format.
+       * rs6000.md (cmptf): Fix typo.
+
 2001-11-23  Richard Sandiford  <rsandifo@redhat.com>
 
        * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
index 93fe5f28443223dc4aaa8fa6ee9c4ae4b51cb8ab..7f524f8735c5b24a0808f9d597e00b928e13b8d5 100644 (file)
@@ -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.  */
index 3cb1e2d3ef31394dc04c802065418ef0d5b8e086..ef50cd170516268237fc17b0adfe32f21337f418 100644 (file)
 (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"
   "
 {