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
9bb7ffda
Commit
9bb7ffda
authored
Apr 25, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_function_epilogue): Emit 'nop' instead of
'sub %sp,-0,%sp' when the frame is empty. From-SVN: r4218
parent
ae0cab49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gcc/config/sparc/sparc.c
+4
-0
No files found.
gcc/config/sparc/sparc.c
View file @
9bb7ffda
...
@@ -2246,6 +2246,10 @@ output_function_epilogue (file, size, leaf_function)
...
@@ -2246,6 +2246,10 @@ output_function_epilogue (file, size, leaf_function)
final_scan_insn
(
XEXP
(
current_function_epilogue_delay_list
,
0
),
final_scan_insn
(
XEXP
(
current_function_epilogue_delay_list
,
0
),
file
,
1
,
0
,
1
);
file
,
1
,
0
,
1
);
}
}
/* Output 'nop' instead of 'sub %sp,-0,%sp' when no frame, so as to
avoid generating confusing assembly language output. */
else
if
(
actual_fsize
==
0
)
fprintf
(
file
,
"
\t
%s
\n\t
nop
\n
"
,
ret
);
else
if
(
actual_fsize
<=
4096
)
else
if
(
actual_fsize
<=
4096
)
fprintf
(
file
,
"
\t
%s
\n\t
sub %%sp,-%d,%%sp
\n
"
,
ret
,
actual_fsize
);
fprintf
(
file
,
"
\t
%s
\n\t
sub %%sp,-%d,%%sp
\n
"
,
ret
,
actual_fsize
);
else
if
(
actual_fsize
<=
8192
)
else
if
(
actual_fsize
<=
8192
)
...
...
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