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
1bad666c
Commit
1bad666c
authored
Nov 30, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(FUNCTION_PROFILER): Use trap #33 instead of trap #5.
Put additional .align before trapa instruction. From-SVN: r10647
parent
44965bad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/config/sh/sh.h
+6
-2
No files found.
gcc/config/sh/sh.h
View file @
1bad666c
...
@@ -688,11 +688,15 @@ extern int current_function_anonymous_args;
...
@@ -688,11 +688,15 @@ extern int current_function_anonymous_args;
#define SETUP_INCOMING_VARARGS(ASF, MODE, TYPE, PAS, ST) \
#define SETUP_INCOMING_VARARGS(ASF, MODE, TYPE, PAS, ST) \
current_function_anonymous_args = 1;
current_function_anonymous_args = 1;
/* Call the function profiler with a given profile label. */
/* Call the function profiler with a given profile label.
We use two .aligns, so as to make sure that both the .long is aligned
on a 4 byte boundary, and that the .long is a fixed distance (2 bytes)
from the trapa instruction. */
#define FUNCTION_PROFILER(STREAM,LABELNO) \
#define FUNCTION_PROFILER(STREAM,LABELNO) \
{ \
{ \
fprintf(STREAM, " trapa #5\n"); \
fprintf(STREAM, " .align 2\n"); \
fprintf(STREAM, " trapa #33\n"); \
fprintf(STREAM, " .align 2\n"); \
fprintf(STREAM, " .align 2\n"); \
fprintf(STREAM, " .long LP%d\n", (LABELNO)); \
fprintf(STREAM, " .long LP%d\n", (LABELNO)); \
}
}
...
...
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