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
0d378063
Commit
0d378063
authored
Oct 24, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(FUNCTION_EPILOGUE): If no frame ptr, increment stack ptr over the local space.
From-SVN: r2586
parent
ed5f8355
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
+18
-1
gcc/config/m68k/news.h
+18
-1
No files found.
gcc/config/m68k/news.h
View file @
0d378063
...
@@ -144,7 +144,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -144,7 +144,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
else if (TARGET_68020) \
else if (TARGET_68020) \
fprintf (FILE, "\tlink.l fp,#%d\n", -fsize); \
fprintf (FILE, "\tlink.l fp,#%d\n", -fsize); \
else \
else \
fprintf (FILE, "\tlink fp,#0\n\tsub.l #%d,sp\n", fsize); } \
fprintf (FILE, "\tlink fp,#0\n\tsub.l #%d,sp\n", fsize);\
} \
else if (fsize) \
{ \
int amt = fsize + 4; \
/* Adding negative number is faster on the 68040. */
\
if (fsize + 4 < 0x8000) \
asm_fprintf (FILE, "\tadd.w %0I%d,%Rsp\n", - amt); \
else \
asm_fprintf (FILE, "\tadd.l %0I%d,%Rsp\n", - amt); \
} \
for (regno = 16; regno < FIRST_PSEUDO_REGISTER; regno++) \
for (regno = 16; regno < FIRST_PSEUDO_REGISTER; regno++) \
if (regs_ever_live[regno] && ! call_used_regs[regno]) \
if (regs_ever_live[regno] && ! call_used_regs[regno]) \
mask |= 1 << (regno - 16); \
mask |= 1 << (regno - 16); \
...
@@ -217,6 +227,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -217,6 +227,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
foffset + fsize, fmask); } \
foffset + fsize, fmask); } \
if (frame_pointer_needed) \
if (frame_pointer_needed) \
fprintf (FILE, "\tunlk fp\n"); \
fprintf (FILE, "\tunlk fp\n"); \
else if (fsize) \
{ \
if (fsize + 4 < 0x8000) \
asm_fprintf (stream, "\tadd.w #%d,sp\n", fsize + 4); \
else \
asm_fprintf (stream, "\tadd.l #%d,sp\n", fsize + 4); \
} \
if (current_function_pops_args) \
if (current_function_pops_args) \
fprintf (FILE, "\trtd #%d\n", current_function_pops_args); \
fprintf (FILE, "\trtd #%d\n", current_function_pops_args); \
else fprintf (FILE, "\trts\n"); }
else fprintf (FILE, "\trts\n"); }
...
...
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