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
55d8cb78
Commit
55d8cb78
authored
Oct 28, 2000
by
Bernd Schmidt
Committed by
Bernd Schmidt
Oct 28, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dynamic branch prediction hint in more cases.
From-SVN: r37105
parent
005f39ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/ChangeLog
+2
-0
gcc/config/ia64/ia64.c
+2
-2
No files found.
gcc/ChangeLog
View file @
55d8cb78
...
...
@@ -8,6 +8,8 @@
* config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
accurate value for MULT.
* config/ia64/ia64.c (ia64_print_operand): Require probability to be
2% or > 98% before using static branch prediction bits.
2000-10-28 Neil Booth <neilb@earthling.net>
...
...
gcc/config/ia64/ia64.c
View file @
55d8cb78
...
...
@@ -3311,11 +3311,11 @@ ia64_print_operand (file, x, code)
int
pred_val
=
INTVAL
(
XEXP
(
x
,
0
));
/* Guess top and bottom 10% statically predicted. */
if
(
pred_val
<
REG_BR_PROB_BASE
/
1
0
)
if
(
pred_val
<
REG_BR_PROB_BASE
/
5
0
)
which
=
".spnt"
;
else
if
(
pred_val
<
REG_BR_PROB_BASE
/
2
)
which
=
".dpnt"
;
else
if
(
pred_val
<
REG_BR_PROB_BASE
*
9
/
10
)
else
if
(
pred_val
<
REG_BR_PROB_BASE
/
100
*
98
)
which
=
".dptk"
;
else
which
=
".sptk"
;
...
...
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