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
f56887a7
Commit
f56887a7
authored
Dec 05, 2000
by
Bernd Schmidt
Committed by
Bernd Schmidt
Dec 05, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.
From-SVN: r38042
parent
3dc9aec6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
gcc/ChangeLog
+6
-0
gcc/sched-rgn.c
+5
-2
gcc/sched-vis.c
+2
-0
No files found.
gcc/ChangeLog
View file @
f56887a7
2000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
* sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
* sched-rgn.c: Likewise.
(rgn_print_insn): Fix output.
2000-12-05 Bruce Korb <bkorb@gnu.org>
2000-12-05 Bruce Korb <bkorb@gnu.org>
* fixinc/Makefile.*: make these more consistent
* fixinc/Makefile.*: make these more consistent
...
...
gcc/sched-rgn.c
View file @
f56887a7
...
@@ -62,6 +62,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
...
@@ -62,6 +62,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "recog.h"
#include "recog.h"
#include "sched-int.h"
#include "sched-int.h"
#ifdef INSN_SCHEDULING
/* Some accessor macros for h_i_d members only used within this file. */
/* Some accessor macros for h_i_d members only used within this file. */
#define INSN_REF_COUNT(INSN) (h_i_d[INSN_UID (INSN)].ref_count)
#define INSN_REF_COUNT(INSN) (h_i_d[INSN_UID (INSN)].ref_count)
#define FED_BY_SPEC_LOAD(insn) (h_i_d[INSN_UID (insn)].fed_by_spec_load)
#define FED_BY_SPEC_LOAD(insn) (h_i_d[INSN_UID (insn)].fed_by_spec_load)
...
@@ -2255,9 +2256,10 @@ rgn_print_insn (insn, aligned)
...
@@ -2255,9 +2256,10 @@ rgn_print_insn (insn, aligned)
sprintf
(
tmp
,
"b%3d: i%4d"
,
INSN_BB
(
insn
),
INSN_UID
(
insn
));
sprintf
(
tmp
,
"b%3d: i%4d"
,
INSN_BB
(
insn
),
INSN_UID
(
insn
));
else
else
{
{
sprintf
(
tmp
,
"%d"
,
INSN_UID
(
insn
));
if
(
current_nr_blocks
>
1
&&
INSN_BB
(
insn
)
!=
target_bb
)
if
(
current_nr_blocks
>
1
&&
INSN_BB
(
insn
)
!=
target_bb
)
sprintf
(
tmp
,
"/b%d "
,
INSN_BB
(
insn
));
sprintf
(
tmp
,
"%d/b%d"
,
INSN_UID
(
insn
),
INSN_BB
(
insn
));
else
sprintf
(
tmp
,
"%d"
,
INSN_UID
(
insn
));
}
}
return
tmp
;
return
tmp
;
}
}
...
@@ -3114,3 +3116,4 @@ schedule_insns (dump_file)
...
@@ -3114,3 +3116,4 @@ schedule_insns (dump_file)
free
(
deaths_in_region
);
free
(
deaths_in_region
);
}
}
#endif
gcc/sched-vis.c
View file @
f56887a7
...
@@ -30,6 +30,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
...
@@ -30,6 +30,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "insn-attr.h"
#include "insn-attr.h"
#include "sched-int.h"
#include "sched-int.h"
#ifdef INSN_SCHEDULING
/* target_units bitmask has 1 for each unit in the cpu. It should be
/* target_units bitmask has 1 for each unit in the cpu. It should be
possible to compute this variable from the machine description.
possible to compute this variable from the machine description.
But currently it is computed by examining the insn list. Since
But currently it is computed by examining the insn list. Since
...
@@ -927,3 +928,4 @@ visualize_free ()
...
@@ -927,3 +928,4 @@ visualize_free ()
{
{
free
(
visual_tbl
);
free
(
visual_tbl
);
}
}
#endif
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