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
e518aa08
Commit
e518aa08
authored
Oct 01, 2012
by
Michael Meissner
Committed by
Michael Meissner
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix powerpc breakage
From-SVN: r191942
parent
84df911b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
gcc/ChangeLog
+8
-0
gcc/config/rs6000/rs6000.c
+6
-5
gcc/config/rs6000/t-rs6000
+1
-1
No files found.
gcc/ChangeLog
View file @
e518aa08
2012-10-01 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (toplevel): Include dumpfile.h.
(rs6000_density_test): Rework to accomidate 09-30 change by Sharad
Singhai.
* config/rs6000/t-rs6000 (rs6000.o): Add dumpfile.h dependency.
2012-10-01 Dehao Chen <dehao@google.com>
PR middle-end/54759
...
...
gcc/config/rs6000/rs6000.c
View file @
e518aa08
...
...
@@ -58,6 +58,7 @@
#include "tm-constrs.h"
#include "opts.h"
#include "tree-vectorizer.h"
#include "dumpfile.h"
#if TARGET_XCOFF
#include "xcoffout.h"
/* get declarations of xcoff_*_section_name */
#endif
...
...
@@ -3518,11 +3519,11 @@ rs6000_density_test (rs6000_cost_data *data)
&&
vec_cost
+
not_vec_cost
>
DENSITY_SIZE_THRESHOLD
)
{
data
->
cost
[
vect_body
]
=
vec_cost
*
(
100
+
DENSITY_PENALTY
)
/
100
;
if
(
vect_print_dump_info
(
REPORT_DETAILS
))
fprintf
(
vect_dump
,
"density %d%%, cost %d exceeds threshold, penalizing "
"loop body cost by %d%%"
,
density_pct
,
vec_cost
+
not_vec_cost
,
DENSITY_PENALTY
);
if
(
dump_kind_p
(
MSG_NOTE
))
dump_printf_loc
(
MSG_NOTE
,
vect_location
,
"density %d%%, cost %d exceeds threshold, penalizing "
"loop body cost by %d%%"
,
density_pct
,
vec_cost
+
not_vec_cost
,
DENSITY_PENALTY
);
}
}
...
...
gcc/config/rs6000/t-rs6000
View file @
e518aa08
...
...
@@ -26,7 +26,7 @@ rs6000.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
$(OBSTACK_H) $(TREE_H) $(EXPR_H) $(OPTABS_H) except.h function.h \
output.h dbxout.h $(BASIC_BLOCK_H) toplev.h $(GGC_H) $(HASHTAB_H) \
$(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h reload.h gt-rs6000.h \
cfgloop.h $(OPTS_H) $(COMMON_TARGET_H)
cfgloop.h $(OPTS_H) $(COMMON_TARGET_H)
dumpfile.h
rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c \
$(srcdir)/config/rs6000/rs6000-protos.h \
...
...
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