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
79ba58ef
Commit
79ba58ef
authored
Apr 04, 2001
by
Bernd Schmidt
Committed by
Bernd Schmidt
Apr 04, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partially revert previous change
From-SVN: r41085
parent
e5bef2e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
gcc/ChangeLog
+5
-0
gcc/sched-deps.c
+15
-1
No files found.
gcc/ChangeLog
View file @
79ba58ef
2001
-
04
-
04
Bernd
Schmidt
<
bernds
@redhat
.
com
>
*
sched
-
deps
.
c
(
sched_analyze_insn
)
:
Partially
revert
March
27
change
.
2001
-
04
-
04
Herman
A
.
J
.
ten
Brugge
<
Haj
.
Ten
.
Brugge
@net
.
HCC
.
nl
>
2001
-
04
-
04
Herman
A
.
J
.
ten
Brugge
<
Haj
.
Ten
.
Brugge
@net
.
HCC
.
nl
>
*
emit
-
rtl
.
c
(
mark_label_nuses
)
Increment
the
label
uses
for
*
emit
-
rtl
.
c
(
mark_label_nuses
)
Increment
the
label
uses
for
...
...
gcc/sched-deps.c
View file @
79ba58ef
...
@@ -1022,12 +1022,13 @@ sched_analyze_insn (deps, x, insn, loop_notes)
...
@@ -1022,12 +1022,13 @@ sched_analyze_insn (deps, x, insn, loop_notes)
if
(
GET_CODE
(
insn
)
==
JUMP_INSN
)
if
(
GET_CODE
(
insn
)
==
JUMP_INSN
)
{
{
rtx
next
,
u
;
rtx
next
;
next
=
next_nonnote_insn
(
insn
);
next
=
next_nonnote_insn
(
insn
);
if
(
next
&&
GET_CODE
(
next
)
==
BARRIER
)
if
(
next
&&
GET_CODE
(
next
)
==
BARRIER
)
schedule_barrier_found
=
1
;
schedule_barrier_found
=
1
;
else
else
{
{
rtx
pending
,
pending_mem
,
u
;
regset_head
tmp
;
regset_head
tmp
;
INIT_REG_SET
(
&
tmp
);
INIT_REG_SET
(
&
tmp
);
...
@@ -1042,6 +1043,19 @@ sched_analyze_insn (deps, x, insn, loop_notes)
...
@@ -1042,6 +1043,19 @@ sched_analyze_insn (deps, x, insn, loop_notes)
});
});
CLEAR_REG_SET
(
&
tmp
);
CLEAR_REG_SET
(
&
tmp
);
pending
=
deps
->
pending_write_insns
;
pending_mem
=
deps
->
pending_write_mems
;
while
(
pending
)
{
add_dependence
(
insn
,
XEXP
(
pending
,
0
),
REG_DEP_OUTPUT
);
pending
=
XEXP
(
pending
,
1
);
pending_mem
=
XEXP
(
pending_mem
,
1
);
}
for
(
u
=
deps
->
last_pending_memory_flush
;
u
;
u
=
XEXP
(
u
,
1
))
add_dependence
(
insn
,
XEXP
(
u
,
0
),
REG_DEP_ANTI
);
}
}
}
}
...
...
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