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
70011923
Commit
70011923
authored
May 14, 1993
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't leave new_thread hanging if it was split by try_split
From-SVN: r4458
parent
b4bf13a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
gcc/reorg.c
+7
-1
No files found.
gcc/reorg.c
View file @
70011923
...
@@ -3095,7 +3095,7 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
...
@@ -3095,7 +3095,7 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
!
stop_search_p
(
trial
,
!
thread_if_true
)
&&
(
!
lose
||
own_thread
);
!
stop_search_p
(
trial
,
!
thread_if_true
)
&&
(
!
lose
||
own_thread
);
trial
=
next_nonnote_insn
(
trial
))
trial
=
next_nonnote_insn
(
trial
))
{
{
rtx
pat
;
rtx
pat
,
old_trial
;
/* If we have passed a label, we no longer own this thread. */
/* If we have passed a label, we no longer own this thread. */
if
(
GET_CODE
(
trial
)
==
CODE_LABEL
)
if
(
GET_CODE
(
trial
)
==
CODE_LABEL
)
...
@@ -3142,7 +3142,10 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
...
@@ -3142,7 +3142,10 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
||
(
!
insn_sets_resource_p
(
trial
,
&
opposite_needed
,
1
)
||
(
!
insn_sets_resource_p
(
trial
,
&
opposite_needed
,
1
)
&&
!
may_trap_p
(
pat
)))
&&
!
may_trap_p
(
pat
)))
{
{
old_trial
=
trial
;
trial
=
try_split
(
pat
,
trial
,
0
);
trial
=
try_split
(
pat
,
trial
,
0
);
if
(
new_thread
==
old_trial
)
new_thread
=
trial
;
pat
=
PATTERN
(
trial
);
pat
=
PATTERN
(
trial
);
if
(
eligible_for_delay
(
insn
,
*
pslots_filled
,
trial
,
flags
))
if
(
eligible_for_delay
(
insn
,
*
pslots_filled
,
trial
,
flags
))
goto
winner
;
goto
winner
;
...
@@ -3156,7 +3159,10 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
...
@@ -3156,7 +3159,10 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
#endif
#endif
)
)
{
{
old_trial
=
trial
;
trial
=
try_split
(
pat
,
trial
,
0
);
trial
=
try_split
(
pat
,
trial
,
0
);
if
(
new_thread
==
old_trial
)
new_thread
=
trial
;
pat
=
PATTERN
(
trial
);
pat
=
PATTERN
(
trial
);
if
((
thread_if_true
if
((
thread_if_true
?
eligible_for_annul_false
(
insn
,
*
pslots_filled
,
trial
,
flags
)
?
eligible_for_annul_false
(
insn
,
*
pslots_filled
,
trial
,
flags
)
...
...
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