public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/kubaneko/heads/histogram)] corrected shift
@ 2023-02-23 18:38 Ondrej Kubanek
0 siblings, 0 replies; 2+ messages in thread
From: Ondrej Kubanek @ 2023-02-23 18:38 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d2c645c824f0931c9a20dd7cd65d05d85759806c
commit d2c645c824f0931c9a20dd7cd65d05d85759806c
Author: kubaneko <kubanek0ondrej@gmail.com>
Date: Wed Feb 22 10:19:34 2023 +0000
corrected shift
Diff:
---
gcc/value-prof.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/value-prof.cc b/gcc/value-prof.cc
index f0a86a9010c..6e54da7c833 100644
--- a/gcc/value-prof.cc
+++ b/gcc/value-prof.cc
@@ -278,7 +278,7 @@ dump_histogram_value (FILE *dump_file, histogram_value hist)
++i){
fprintf (dump_file, "Histogram counter histogram%" PRId64
":%" PRId64 ".\n",
- (int64_t) 1>>i,
+ (int64_t) 1<<i,
(int64_t) hist->hvalue.counters[(param_profile_histogram_size_lin-lin2_log)+i]);
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gcc(refs/users/kubaneko/heads/histogram)] corrected shift
@ 2023-02-23 23:22 Ondrej Kubanek
0 siblings, 0 replies; 2+ messages in thread
From: Ondrej Kubanek @ 2023-02-23 23:22 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:93b5586f6f5b5b8db0052bae4ebf066f0421b8b9
commit 93b5586f6f5b5b8db0052bae4ebf066f0421b8b9
Author: kubaneko <kubanek0ondrej@gmail.com>
Date: Wed Feb 22 10:19:34 2023 +0000
corrected shift
Diff:
---
gcc/value-prof.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/value-prof.cc b/gcc/value-prof.cc
index 133ed62118a..110cede7cf4 100644
--- a/gcc/value-prof.cc
+++ b/gcc/value-prof.cc
@@ -277,7 +277,7 @@ dump_histogram_value (FILE *dump_file, histogram_value hist)
++i){
fprintf (dump_file, "Histogram counter histogram%" PRId64
":%" PRId64 ".\n",
- (int64_t) 1>>i,
+ (int64_t) 1<<i,
(int64_t) hist->hvalue.counters[(param_profile_histogram_size_lin-lin2_log)+i]);
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-23 23:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23 18:38 [gcc(refs/users/kubaneko/heads/histogram)] corrected shift Ondrej Kubanek
2023-02-23 23:22 Ondrej Kubanek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).