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
92e3cac8
Commit
92e3cac8
authored
Jul 27, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jul 27, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* analyze_brprob: Avoid overflows.
From-SVN: r44430
parent
d69d0316
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
contrib/ChangeLog
+4
-0
contrib/analyze_brprob
+8
-8
No files found.
contrib/ChangeLog
View file @
92e3cac8
Fri Jul 27 18:01:21 CEST 2001 Jan Hubicka <jh@suse.cz>
* analyze_brprob: Avoid overflows.
2001-07-27 Richard Henderson <rth@redhat.com>
* gcc_update: Dump timestamp in LAST_UPDATED.
...
...
contrib/analyze_brprob
View file @
92e3cac8
...
...
@@ -116,17 +116,17 @@ BEGIN {nnames = 0}
}
counts
[
name
]
=
counts
[
name
]
"+"
count
hits
[
name
]
=
hits
[
name
]
"+"
hit
if
(
int
(
hit
)
<
(
in
t
(
count
)
/
2
))
hit
=
count
-
hit
;
if
(
float
(
hit
)
<
(
floa
t
(
count
)
/
2
))
hit
=
"("
count
" - "
hit
")"
;
phits
[
name
]
=
phits
[
name
]
"+"
hit
#BC crashes on long strings. Irritating.
if
(
length
(
counts
[
name
])
>
4
000
)
{
counts
[
name
]
=
longeval
(
counts
[
name
]
)
hits
[
name
]
=
longeval
(
hits
[
name
])
phits
[
name
]
=
longeval
(
phits
[
name
]
)
}
if
(
length
(
counts
[
name
])
>
2
000
)
counts
[
name
]
=
longeval
(
counts
[
name
])
if
(
length
(
hits
[
name
])
>
2000
)
hits
[
name
]
=
longeval
(
hits
[
name
])
if
(
length
(
phits
[
name
])
>
2000
)
phits
[
name
]
=
longeval
(
phits
[
name
])
}
END
{
# Heuristics called combined predicts just everything.
...
...
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