Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
ffd15534
Commit
ffd15534
authored
Jul 28, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jul 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* analyze_brprob: Avoid more overflows.
From-SVN: r44438
parent
7b6a9399
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
contrib/ChangeLog
+4
-0
contrib/analyze_brprob
+2
-4
No files found.
contrib/ChangeLog
View file @
ffd15534
Sat Jul 28 22:37:49 CEST 2001 Jan Hubicka <jh@suse.cz>
* analyze_brprob: Avoid more overflows.
2001-07-27 Richard Henderson <rth@redhat.com>
* test_summary: Copy LAST_UPDATED UTC time to head of summary.
...
...
contrib/analyze_brprob
View file @
ffd15534
...
...
@@ -112,13 +112,11 @@ BEGIN {nnames = 0}
if
(
int
(
pred
)
<
50.0
)
{
hit
=
count
-
hit
;
hit
=
count
"-"
hit
;
}
counts
[
name
]
=
counts
[
name
]
"+"
count
hits
[
name
]
=
hits
[
name
]
"+"
hit
if
(
float
(
hit
)
<
(
float
(
count
)
/
2
))
hit
=
"("
count
" - "
hit
")"
;
phits
[
name
]
=
phits
[
name
]
"+"
hit
phits
[
name
]
=
phits
[
name
]
"+(("
hit
")<"
count
"/2)*("
count
"-("
hit
"))+(("
hit
")>="
count
"/2)*("
hit
")"
#BC crashes on long strings. Irritating.
if
(
length
(
counts
[
name
])
>
2000
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment