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
97511ad7
Commit
97511ad7
authored
Sep 09, 2007
by
Revital Eres
Committed by
Revital Eres
Sep 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new debug counter
From-SVN: r128292
parent
3968877d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
9 deletions
+14
-9
gcc/ChangeLog
+9
-0
gcc/Makefile.in
+1
-1
gcc/dbgcnt.def
+1
-0
gcc/modulo-sched.c
+3
-3
gcc/params.def
+0
-5
No files found.
gcc/ChangeLog
View file @
97511ad7
2007-09-09 Revital Eres <eres@il.ibm.com>
* dbgcnt.def (sms_sched_loop): New counter.
* modulo-sched.c: Use sms_sched_loop instead of
MAX_SMS_LOOP_NUMBER to determine the maximum number of loops to
perform swing modulo scheduling on. Include dbgcnt.h.
* Makefile.in: Add DBGCNT_H to modulo-sched.o.
* params.def: Remove PARAM_MAX_SMS_LOOP_NUMBER.
2007-09-09 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (X87MODEF12, SSEMODEF): Remove mode iterators.
gcc/Makefile.in
View file @
97511ad7
...
...
@@ -2765,7 +2765,7 @@ modulo-sched.o : modulo-sched.c $(DDG_H) $(CONFIG_H) $(CONFIG_H) $(SYSTEM_H) \
$(FLAGS_H) insn-config.h $(INSN_ATTR_H) except.h $(RECOG_H)
\
$(SCHED_INT_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(EXPR_H) $(PARAMS_H)
\
cfghooks.h $(GCOV_IO_H) hard-reg-set.h $(TM_H) timevar.h tree-pass.h
\
$(DF_H)
$(DF_H)
$(DBGCNT_H)
haifa-sched.o
:
haifa-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H)
\
$(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(FUNCTION_H)
\
$(INSN_ATTR_H) toplev.h $(RECOG_H) except.h $(TM_P_H) $(TARGET_H) output.h
\
...
...
gcc/dbgcnt.def
View file @
97511ad7
...
...
@@ -83,3 +83,4 @@ DEBUG_COUNTER (split_for_sched2)
DEBUG_COUNTER (tail_call)
DEBUG_COUNTER (global_alloc_at_func)
DEBUG_COUNTER (global_alloc_at_reg)
DEBUG_COUNTER (sms_sched_loop)
gcc/modulo-sched.c
View file @
97511ad7
...
...
@@ -47,6 +47,7 @@ along with GCC; see the file COPYING3. If not see
#include "ddg.h"
#include "timevar.h"
#include "tree-pass.h"
#include "dbgcnt.h"
#ifdef INSN_SCHEDULING
...
...
@@ -862,7 +863,6 @@ canon_loop (struct loop *loop)
static
void
sms_schedule
(
void
)
{
static
int
passes
=
0
;
rtx
insn
;
ddg_ptr
*
g_arr
,
g
;
int
*
node_order
;
...
...
@@ -919,10 +919,10 @@ sms_schedule (void)
rtx
count_reg
;
/* For debugging. */
if
(
(
passes
++
>
MAX_SMS_LOOP_NUMBER
)
&&
(
MAX_SMS_LOOP_NUMBER
!=
-
1
)
)
if
(
dbg_cnt
(
sms_sched_loop
)
==
false
)
{
if
(
dump_file
)
fprintf
(
dump_file
,
"SMS reached
MAX_PASSES
...
\n
"
);
fprintf
(
dump_file
,
"SMS reached
max limit
...
\n
"
);
break
;
}
...
...
gcc/params.def
View file @
97511ad7
...
...
@@ -311,11 +311,6 @@ DEFPARAM(PARAM_MAX_ITERATIONS_COMPUTATION_COST,
"Bound on the cost of an expression to compute the number of iterations",
10, 0, 0)
DEFPARAM(PARAM_MAX_SMS_LOOP_NUMBER,
"max-sms-loop-number",
"Maximum number of loops to perform swing modulo scheduling on (mainly for debugging)",
-1, -1, -1)
/* This parameter is used to tune SMS MAX II calculations. */
DEFPARAM(PARAM_SMS_MAX_II_FACTOR,
"sms-max-ii-factor",
...
...
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