diff options
author | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-23 00:33:44 +0000 |
---|---|---|
committer | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-23 00:33:44 +0000 |
commit | 8347c5244b2c42ba47716e42b04275f63b73a23b (patch) | |
tree | 0aa351a7e45ad3658288d88b8bca8122c6002626 /gcc/sched-vis.c | |
parent | f2322544c5880403400fa5d479b637fc10e17d84 (diff) | |
download | gcc-8347c5244b2c42ba47716e42b04275f63b73a23b.tar.gz |
* sched-vis.c (print_value): Use CONST_DOUBLE_LOW and
CONST_DOUBLE_HIGH.
* config/sparc/sparc.c (sparc_rtx_costs): Likewise, and
fix check on CONST_DOUBLE mode. It should be VOIDmode
when it is representing an integer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r-- | gcc/sched-vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c index aa228317ba0..8920fb6a320 100644 --- a/gcc/sched-vis.c +++ b/gcc/sched-vis.c @@ -435,7 +435,7 @@ print_value (char *buf, rtx x, int verbose) if (FLOAT_MODE_P (GET_MODE (x))) real_to_decimal (t, CONST_DOUBLE_REAL_VALUE (x), sizeof (t), 0, 1); else - sprintf (t, "<0x%lx,0x%lx>", (long) XWINT (x, 2), (long) XWINT (x, 3)); + sprintf (t, "<0x%lx,0x%lx>", (long) CONST_DOUBLE_LOW (x), (long) CONST_DOUBLE_HIGH (x)); cur = safe_concat (buf, cur, t); break; case CONST_STRING: |