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
506c8a71
Commit
506c8a71
authored
Jan 25, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(init_arg_profiler, output_arc_profiler): Delete unused
functions. From-SVN: r3341
parent
1cae8678
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
50 deletions
+0
-50
gcc/config/sparc/sparc.c
+0
-50
No files found.
gcc/config/sparc/sparc.c
View file @
506c8a71
...
...
@@ -2514,56 +2514,6 @@ order_regs_for_local_alloc ()
}
}
/* Machine dependent routines for the branch probability, arc profiling
code. */
/* The label used by the arc profiling code. */
static
rtx
profiler_label
;
void
init_arc_profiler
()
{
/* Generate and save a copy of this so it can be shared. */
profiler_label
=
gen_rtx
(
SYMBOL_REF
,
Pmode
,
"*LPBX2"
);
}
void
output_arc_profiler
(
arcno
,
insert_after
)
int
arcno
;
rtx
insert_after
;
{
rtx
profiler_target_addr
=
gen_rtx
(
CONST
,
Pmode
,
gen_rtx
(
PLUS
,
Pmode
,
profiler_label
,
gen_rtx
(
CONST_INT
,
VOIDmode
,
4
*
arcno
)));
register
rtx
profiler_reg
=
gen_reg_rtx
(
SImode
);
register
rtx
address_reg
=
gen_reg_rtx
(
Pmode
);
rtx
mem_ref
;
insert_after
=
emit_insn_after
(
gen_rtx
(
SET
,
VOIDmode
,
address_reg
,
gen_rtx
(
HIGH
,
Pmode
,
profiler_target_addr
)),
insert_after
);
mem_ref
=
gen_rtx
(
MEM
,
SImode
,
gen_rtx
(
LO_SUM
,
Pmode
,
address_reg
,
profiler_target_addr
));
insert_after
=
emit_insn_after
(
gen_rtx
(
SET
,
VOIDmode
,
profiler_reg
,
mem_ref
),
insert_after
);
insert_after
=
emit_insn_after
(
gen_rtx
(
SET
,
VOIDmode
,
profiler_reg
,
gen_rtx
(
PLUS
,
SImode
,
profiler_reg
,
const1_rtx
)),
insert_after
);
/* This is the same rtx as above, but it is not legal to share this rtx. */
mem_ref
=
gen_rtx
(
MEM
,
SImode
,
gen_rtx
(
LO_SUM
,
Pmode
,
address_reg
,
profiler_target_addr
));
emit_insn_after
(
gen_rtx
(
SET
,
VOIDmode
,
mem_ref
,
profiler_reg
),
insert_after
);
}
/* Return 1 if REGNO (reg1) is even and REGNO (reg1) == REGNO (reg2) - 1.
This makes them candidates for using ldd and std insns.
...
...
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