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
5b6faa70
Commit
5b6faa70
authored
Oct 03, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(RETURN_ADDR_RTX): Remove call to copy_to_reg.
From-SVN: r10420
parent
f09d4c33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/config/sparc/sparc.h
+6
-2
No files found.
gcc/config/sparc/sparc.h
View file @
5b6faa70
...
@@ -1698,6 +1698,10 @@ extern struct rtx_def *sparc_builtin_saveregs ();
...
@@ -1698,6 +1698,10 @@ extern struct rtx_def *sparc_builtin_saveregs ();
save area. */
save area. */
#define RETURN_ADDR_IN_PREVIOUS_FRAME
#define RETURN_ADDR_IN_PREVIOUS_FRAME
/* This is the offset of the return address to the true next instruction to be
executed for normal void functions. */
#define NORMAL_RETURN_ADDR_OFFSET (8)
/* The current return address is in %i7. The return address of anything
/* The current return address is in %i7. The return address of anything
farther back is in the register window save area at [%fp+60]. */
farther back is in the register window save area at [%fp+60]. */
/* ??? This ignores the fact that the actual return address is +8 for normal
/* ??? This ignores the fact that the actual return address is +8 for normal
...
@@ -1705,8 +1709,8 @@ extern struct rtx_def *sparc_builtin_saveregs ();
...
@@ -1705,8 +1709,8 @@ extern struct rtx_def *sparc_builtin_saveregs ();
#define RETURN_ADDR_RTX(count, frame) \
#define RETURN_ADDR_RTX(count, frame) \
((count == -1) \
((count == -1) \
? gen_rtx (REG, Pmode, 31) \
? gen_rtx (REG, Pmode, 31) \
:
copy_to_reg (gen_rtx (MEM, Pmode,
\
:
gen_rtx (MEM, Pmode,
\
memory_address (Pmode, plus_constant (frame, 15 * UNITS_PER_WORD)
))))
memory_address (Pmode, plus_constant (frame, 15 * UNITS_PER_WORD
))))
/* Addressing modes, and classification of registers for them. */
/* Addressing modes, and classification of registers for them. */
...
...
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