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
7791b7f9
Commit
7791b7f9
authored
Aug 15, 2000
by
Richard Henderson
Committed by
Richard Henderson
Aug 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flow.c (mark_used_reg): Set reg_cond_reg appropriately.
From-SVN: r35727
parent
fa80e43d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
gcc/ChangeLog
+4
-0
gcc/flow.c
+8
-5
No files found.
gcc/ChangeLog
View file @
7791b7f9
2000-08-15 Richard Henderson <rth@cygnus.com>
* flow.c (mark_used_reg): Set reg_cond_reg appropriately.
2000-08-15 Richard Earnshaw <rearnsha@arm.com>
2000-08-15 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_function_ok_for_sibcall): New function.
* arm.c (arm_function_ok_for_sibcall): New function.
...
...
gcc/flow.c
View file @
7791b7f9
...
@@ -4617,8 +4617,7 @@ mark_regno_cond_dead (pbi, regno, cond)
...
@@ -4617,8 +4617,7 @@ mark_regno_cond_dead (pbi, regno, cond)
splay_tree_insert
(
pbi
->
reg_cond_dead
,
regno
,
splay_tree_insert
(
pbi
->
reg_cond_dead
,
regno
,
(
splay_tree_value
)
rcli
);
(
splay_tree_value
)
rcli
);
SET_REGNO_REG_SET
(
pbi
->
reg_cond_reg
,
SET_REGNO_REG_SET
(
pbi
->
reg_cond_reg
,
REGNO
(
XEXP
(
cond
,
0
)));
REGNO
(
XEXP
(
cond
,
0
)));
/* Not unconditionaly dead. */
/* Not unconditionaly dead. */
return
0
;
return
0
;
...
@@ -4639,8 +4638,7 @@ mark_regno_cond_dead (pbi, regno, cond)
...
@@ -4639,8 +4638,7 @@ mark_regno_cond_dead (pbi, regno, cond)
{
{
rcli
->
condition
=
ncond
;
rcli
->
condition
=
ncond
;
SET_REGNO_REG_SET
(
pbi
->
reg_cond_reg
,
SET_REGNO_REG_SET
(
pbi
->
reg_cond_reg
,
REGNO
(
XEXP
(
cond
,
0
)));
REGNO
(
XEXP
(
cond
,
0
)));
/* Not unconditionaly dead. */
/* Not unconditionaly dead. */
return
0
;
return
0
;
...
@@ -5240,7 +5238,10 @@ mark_used_reg (pbi, reg, cond, insn)
...
@@ -5240,7 +5238,10 @@ mark_used_reg (pbi, reg, cond, insn)
splay_tree_remove
(
pbi
->
reg_cond_dead
,
regno
);
splay_tree_remove
(
pbi
->
reg_cond_dead
,
regno
);
}
}
else
else
rcli
->
condition
=
ncond
;
{
rcli
->
condition
=
ncond
;
SET_REGNO_REG_SET
(
pbi
->
reg_cond_reg
,
REGNO
(
XEXP
(
cond
,
0
)));
}
}
}
}
}
else
else
...
@@ -5251,6 +5252,8 @@ mark_used_reg (pbi, reg, cond, insn)
...
@@ -5251,6 +5252,8 @@ mark_used_reg (pbi, reg, cond, insn)
rcli
->
condition
=
not_reg_cond
(
cond
);
rcli
->
condition
=
not_reg_cond
(
cond
);
splay_tree_insert
(
pbi
->
reg_cond_dead
,
regno
,
splay_tree_insert
(
pbi
->
reg_cond_dead
,
regno
,
(
splay_tree_value
)
rcli
);
(
splay_tree_value
)
rcli
);
SET_REGNO_REG_SET
(
pbi
->
reg_cond_reg
,
REGNO
(
XEXP
(
cond
,
0
)));
}
}
}
}
else
if
(
some_was_live
)
else
if
(
some_was_live
)
...
...
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