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
97fa962f
Commit
97fa962f
authored
Jul 10, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(jump_optimize): Pass outer_code arg to rtx_cost.
From-SVN: r10111
parent
af170865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/jump.c
+5
-5
No files found.
gcc/jump.c
View file @
97fa962f
...
...
@@ -871,7 +871,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&&
GET_CODE
(
SET_SRC
(
temp1
))
!=
CONST_INT
&&
!
side_effects_p
(
SET_SRC
(
temp1
))
&&
!
may_trap_p
(
SET_SRC
(
temp1
))
&&
rtx_cost
(
SET_SRC
(
temp1
))
<
10
)
&&
rtx_cost
(
SET_SRC
(
temp1
)
,
SET
)
<
10
)
{
rtx
new
=
gen_reg_rtx
(
GET_MODE
(
temp2
));
...
...
@@ -910,12 +910,12 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
#endif
&&
!
side_effects_p
(
SET_SRC
(
temp1
))
&&
!
may_trap_p
(
SET_SRC
(
temp1
))
&&
rtx_cost
(
SET_SRC
(
temp1
))
<
10
&&
rtx_cost
(
SET_SRC
(
temp1
)
,
SET
)
<
10
&&
(
temp4
=
single_set
(
temp3
))
!=
0
&&
rtx_equal_p
(
SET_DEST
(
temp4
),
temp2
)
&&
!
side_effects_p
(
SET_SRC
(
temp4
))
&&
!
may_trap_p
(
SET_SRC
(
temp4
))
&&
rtx_cost
(
SET_SRC
(
temp4
))
<
10
)
&&
rtx_cost
(
SET_SRC
(
temp4
)
,
SET
)
<
10
)
{
rtx
new
=
gen_reg_rtx
(
GET_MODE
(
temp2
));
...
...
@@ -962,7 +962,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&&
regno_last_uid
[
REGNO
(
temp5
)]
==
INSN_UID
(
temp3
)
&&
!
side_effects_p
(
SET_SRC
(
temp1
))
&&
!
may_trap_p
(
SET_SRC
(
temp1
))
&&
rtx_cost
(
SET_SRC
(
temp1
))
<
10
&&
rtx_cost
(
SET_SRC
(
temp1
)
,
SET
)
<
10
&&
(
temp4
=
single_set
(
temp3
))
!=
0
&&
(
temp2
=
SET_DEST
(
temp4
),
GET_CODE
(
temp2
)
==
REG
)
&&
GET_MODE_CLASS
(
GET_MODE
(
temp2
))
==
MODE_INT
...
...
@@ -972,7 +972,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&&
rtx_equal_p
(
SET_DEST
(
temp4
),
temp2
)
&&
!
side_effects_p
(
SET_SRC
(
temp4
))
&&
!
may_trap_p
(
SET_SRC
(
temp4
))
&&
rtx_cost
(
SET_SRC
(
temp4
))
<
10
)
&&
rtx_cost
(
SET_SRC
(
temp4
)
,
SET
)
<
10
)
{
rtx
new
=
gen_reg_rtx
(
GET_MODE
(
temp2
));
...
...
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