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
86c33cd0
Commit
86c33cd0
authored
Aug 25, 2006
by
Kazu Hirata
Committed by
Kazu Hirata
Aug 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tm.texi: Fix a typo.
* doc/tm.texi: Fix a typo. * predict.c: Fix comment typos. From-SVN: r116399
parent
17daa4c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/ChangeLog
+5
-0
gcc/doc/tm.texi
+1
-1
gcc/predict.c
+2
-2
No files found.
gcc/ChangeLog
View file @
86c33cd0
2006
-
08
-
25
Kazu
Hirata
<
kazu
@codesourcery
.
com
>
*
doc
/
tm
.
texi
:
Fix
a
typo
.
*
predict
.
c
:
Fix
comment
typos
.
2006
-
08
-
25
Nick
Clifton
<
nickc
@redhat
.
com
>
*
config
/
mn10300
/
mn10300
.
h
(
TARGET_CPU_CPP_BUILTINS
)
:
Add
...
...
gcc/doc/tm.texi
View file @
86c33cd0
...
...
@@ -4401,7 +4401,7 @@ compiler knows this regardless of @code{EXIT_IGNORE_STACK}.
@defmac
EPILOGUE_USES
(
@var{
regno
}
)
Define
this
macro
as
a
C
expression
that
is
nonzero
for
registers
that
are
used
by
the
epilogue
or
the
@samp{
return
}
pattern
.
The
stack
and
frame
pointer
registers
are
already
be
assumed
to
be
used
as
needed
.
pointer
registers
are
already
assumed
to
be
used
as
needed
.
@end
defmac
@defmac
EH_USES
(
@var{
regno
}
)
...
...
gcc/predict.c
View file @
86c33cd0
...
...
@@ -182,7 +182,7 @@ tree_predicted_by_p (basic_block bb, enum br_predictor predictor)
The profile guessing code is good at predicting branch outcome (ie.
taken/not taken), that is predicted right slightly over 75% of time.
It is however notorously poor on predicting the probability itself.
It is however notor
i
ously poor on predicting the probability itself.
In general the profile appear a lot flatter (with probabilities closer
to 50%) than the reality so it is bad idea to use it to drive optimization
such as those disabling dynamic branch prediction for well predictable
...
...
@@ -192,7 +192,7 @@ tree_predicted_by_p (basic_block bb, enum br_predictor predictor)
predicted by number of iterations heuristics are predicted well. This macro
should be able to distinguish those, but at the moment it simply check for
noreturn heuristic that is only one giving probability over 99% or bellow
1%. In future we might want to propagate reliablity information across the
1%. In future we might want to propagate reliab
i
lity information across the
CFG if we find this information useful on multiple places. */
static
bool
probability_reliable_p
(
int
prob
)
...
...
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