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
6f3c667f
Commit
6f3c667f
authored
Sep 16, 1992
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print correct number of half-pic ptrs/refs for -mstats
From-SVN: r2137
parent
4debb280
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
gcc/config/mips/mips.c
+14
-4
No files found.
gcc/config/mips/mips.c
View file @
6f3c667f
...
...
@@ -176,6 +176,10 @@ rtx branch_cmp[2];
/* what type of branch to use */
enum
cmp_type
branch_type
;
/* Number of previously seen half-pic pointers and references. */
static
int
prev_half_pic_ptrs
=
0
;
static
int
prev_half_pic_refs
=
0
;
/* which cpu are we scheduling for */
enum
processor_type
mips_cpu
;
...
...
@@ -4428,11 +4432,17 @@ function_epilogue (file, size)
dslots_jump_total
,
dslots_jump_filled
,
num_refs
[
0
],
num_refs
[
1
],
num_refs
[
2
]);
if
(
HALF_PIC_NUMBER_PTRS
)
fprintf
(
stderr
,
" half-pic=%3d"
,
HALF_PIC_NUMBER_PTRS
);
if
(
HALF_PIC_NUMBER_PTRS
>
prev_half_pic_ptrs
)
{
fprintf
(
stderr
,
" half-pic=%3d"
,
HALF_PIC_NUMBER_PTRS
-
prev_half_pic_ptrs
);
prev_half_pic_ptrs
=
HALF_PIC_NUMBER_PTRS
;
}
if
(
HALF_PIC_NUMBER_REFS
)
fprintf
(
stderr
,
" pic-ref=%3d"
,
HALF_PIC_NUMBER_REFS
);
if
(
HALF_PIC_NUMBER_REFS
>
prev_half_pic_refs
)
{
fprintf
(
stderr
,
" pic-ref=%3d"
,
HALF_PIC_NUMBER_REFS
-
prev_half_pic_refs
);
prev_half_pic_refs
=
HALF_PIC_NUMBER_REFS
;
}
fputc
(
'\n'
,
stderr
);
}
...
...
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