diff options
author | David Edelsohn <edelsohn@gnu.org> | 2001-11-24 06:44:11 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2001-11-24 01:44:11 -0500 |
commit | 134c32f6de3386ce5d05eb481389c959f829903b (patch) | |
tree | 001ab95450c717f4888b57fc989006d22cafea50 | |
parent | e7a4130eeb81963061c64571bda9a5d8fe4a6235 (diff) | |
download | gcc-134c32f6de3386ce5d05eb481389c959f829903b.zip gcc-134c32f6de3386ce5d05eb481389c959f829903b.tar.gz gcc-134c32f6de3386ce5d05eb481389c959f829903b.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 7 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 1 |
3 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54e153d..eaf2d36 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 93fe5f2..7f524f8 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 3cb1e2d..ef50cd1 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" " { |