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
e0e349f3
Commit
e0e349f3
authored
May 24, 2014
by
Jan Hubicka
Committed by
Jan Hubicka
May 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sched-int.h (sd_iterator_cond): Manually tail recurse.
From-SVN: r210895
parent
06e3da34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
gcc/ChangeLog
+4
-0
gcc/sched-int.h
+24
-21
No files found.
gcc/ChangeLog
View file @
e0e349f3
2014-05-23 Jan Hubicka <hubicka@ucw.cz>
* sched-int.h (sd_iterator_cond): Manually tail recurse.
2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/440.md (ppc440-integer): Include shift without
...
...
gcc/sched-int.h
View file @
e0e349f3
...
...
@@ -1550,34 +1550,37 @@ sd_iterator_start (rtx insn, sd_list_types_def types)
static
inline
bool
sd_iterator_cond
(
sd_iterator_def
*
it_ptr
,
dep_t
*
dep_ptr
)
{
dep_link_t
link
=
*
it_ptr
->
linkp
;
if
(
link
!=
NULL
)
{
*
dep_ptr
=
DEP_LINK_DEP
(
link
);
return
true
;
}
else
while
(
true
)
{
sd_list_types_def
types
=
it_ptr
->
types
;
dep_link_t
link
=
*
it_ptr
->
linkp
;
if
(
types
!=
SD_LIST_NONE
)
/* Switch to next list. */
if
(
link
!=
NULL
)
{
*
dep_ptr
=
DEP_LINK_DEP
(
link
);
return
true
;
}
else
{
deps_list_t
list
;
sd_list_types_def
types
=
it_ptr
->
types
;
sd_next_list
(
it_ptr
->
insn
,
&
it_ptr
->
types
,
&
list
,
&
it_ptr
->
resolved_p
);
if
(
types
!=
SD_LIST_NONE
)
/* Switch to next list. */
{
deps_list_t
list
;
it_ptr
->
linkp
=
&
DEPS_LIST_FIRST
(
list
);
sd_next_list
(
it_ptr
->
insn
,
&
it_ptr
->
types
,
&
list
,
&
it_ptr
->
resolved_p
);
if
(
list
)
return
sd_iterator_cond
(
it_ptr
,
dep_ptr
);
}
it_ptr
->
linkp
=
&
DEPS_LIST_FIRST
(
list
);
if
(
list
)
continue
;
}
*
dep_ptr
=
NULL
;
return
false
;
}
*
dep_ptr
=
NULL
;
return
false
;
}
}
}
/* Advance iterator. */
...
...
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