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
f5fa4507
Commit
f5fa4507
authored
May 11, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(a29k_clobbers_to): New function.
From-SVN: r7276
parent
13275056
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
gcc/config/a29k/a29k.c
+27
-0
No files found.
gcc/config/a29k/a29k.c
View file @
f5fa4507
...
...
@@ -802,6 +802,33 @@ incoming_reg (start, count)
return
R_AR
(
start
);
}
/* Add CLOBBERs to CALL_INSN_FUNCTION_USAGE chain of INSN indicating
that LR2 up to, but not including, OP are clobbered. If OP is
zero, indicate all parameter registers are clobbered. */
void
a29k_clobbers_to
(
insn
,
op
)
rtx
insn
;
rtx
op
;
{
int
i
;
int
high_regno
;
if
(
op
==
0
)
high_regno
=
R_LR
(
18
);
else
if
(
GET_CODE
(
op
)
!=
REG
||
REGNO
(
op
)
<
R_LR
(
0
)
||
REGNO
(
op
)
>
R_LR
(
18
))
abort
();
else
high_regno
=
REGNO
(
op
);
for
(
i
=
R_LR
(
2
);
i
<
high_regno
;
i
++
)
CALL_INSN_FUNCTION_USAGE
(
insn
)
=
gen_rtx
(
EXPR_LIST
,
VOIDmode
,
gen_rtx
(
CLOBBER
,
VOIDmode
,
gen_rtx
(
REG
,
SImode
,
i
)),
CALL_INSN_FUNCTION_USAGE
(
insn
));
}
/* These routines are used in finding insns to fill delay slots in the
epilogue. */
...
...
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