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
24ee7cae
Commit
24ee7cae
authored
Sep 21, 2001
by
Richard Henderson
Committed by
Richard Henderson
Sep 21, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* predict.c (expected_value_to_br_prob): Use pc_set.
From-SVN: r45738
parent
ee1315aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/ChangeLog
+2
-0
gcc/predict.c
+1
-1
No files found.
gcc/ChangeLog
View file @
24ee7cae
2001
-
09
-
21
Richard
Henderson
<
rth
@redhat
.
com
>
*
predict
.
c
(
expected_value_to_br_prob
)
:
Use
pc_set
.
*
optabs
.
c
(
init_one_libfunc
)
:
Gen
a
FUNCTION_DECL
for
use
by
ENCODE_SECTION_INFO
;
get
SYMBOL_REF
from
make_decl_rtl
.
...
...
gcc/predict.c
View file @
24ee7cae
...
...
@@ -573,7 +573,7 @@ expected_value_to_br_prob ()
as canonicalize_condition will render this to us as
(lt r70, r71)
Could use cselib to try and reduce this further. */
cond
=
XEXP
(
SET_SRC
(
PATTERN
(
insn
)),
0
);
cond
=
XEXP
(
SET_SRC
(
pc_set
(
insn
)),
0
);
cond
=
canonicalize_condition
(
insn
,
cond
,
0
,
NULL
,
ev_reg
);
if
(
!
cond
||
XEXP
(
cond
,
0
)
!=
ev_reg
...
...
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