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
e7eefaec
Commit
e7eefaec
authored
Nov 10, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_function_epilogue): Use a1 as scratch, not a0.
From-SVN: r8416
parent
90140103
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
gcc/config/m68k/m68k.c
+10
-10
No files found.
gcc/config/m68k/m68k.c
View file @
e7eefaec
...
...
@@ -330,9 +330,9 @@ output_function_epilogue (stream, size)
&&
(
mask
||
fmask
||
fpoffset
))
{
#ifdef MOTOROLA
asm_fprintf
(
stream
,
"
\t
%Omove.l %0I%d,%Ra
0
\n
"
,
-
fsize
);
asm_fprintf
(
stream
,
"
\t
%Omove.l %0I%d,%Ra
1
\n
"
,
-
fsize
);
#else
asm_fprintf
(
stream
,
"
\t
movel %0I%d,%Ra
0
\n
"
,
-
fsize
);
asm_fprintf
(
stream
,
"
\t
movel %0I%d,%Ra
1
\n
"
,
-
fsize
);
#endif
fsize
=
0
,
big
=
1
;
}
...
...
@@ -352,12 +352,12 @@ output_function_epilogue (stream, size)
if
(
big
)
{
#ifdef MOTOROLA
asm_fprintf
(
stream
,
"
\t
%Omove.l -%d(%s,%Ra
0
.l),%s
\n
"
,
asm_fprintf
(
stream
,
"
\t
%Omove.l -%d(%s,%Ra
1
.l),%s
\n
"
,
offset
+
fsize
,
reg_names
[
FRAME_POINTER_REGNUM
],
reg_names
[
i
]);
#else
asm_fprintf
(
stream
,
"
\t
movel %s@(-%d,%Ra
0
:l),%s
\n
"
,
asm_fprintf
(
stream
,
"
\t
movel %s@(-%d,%Ra
1
:l),%s
\n
"
,
reg_names
[
FRAME_POINTER_REGNUM
],
offset
+
fsize
,
reg_names
[
i
]);
#endif
...
...
@@ -393,12 +393,12 @@ output_function_epilogue (stream, size)
if
(
big
)
{
#ifdef MOTOROLA
asm_fprintf
(
stream
,
"
\t
movm.l -%d(%s,%Ra
0
.l),%0I0x%x
\n
"
,
asm_fprintf
(
stream
,
"
\t
movm.l -%d(%s,%Ra
1
.l),%0I0x%x
\n
"
,
offset
+
fsize
,
reg_names
[
FRAME_POINTER_REGNUM
],
mask
);
#else
asm_fprintf
(
stream
,
"
\t
moveml %s@(-%d,%Ra
0
:l),%0I0x%x
\n
"
,
asm_fprintf
(
stream
,
"
\t
moveml %s@(-%d,%Ra
1
:l),%0I0x%x
\n
"
,
reg_names
[
FRAME_POINTER_REGNUM
],
offset
+
fsize
,
mask
);
#endif
...
...
@@ -430,12 +430,12 @@ output_function_epilogue (stream, size)
if
(
big
)
{
#ifdef MOTOROLA
asm_fprintf
(
stream
,
"
\t
fmovm -%d(%s,%Ra
0
.l),%0I0x%x
\n
"
,
asm_fprintf
(
stream
,
"
\t
fmovm -%d(%s,%Ra
1
.l),%0I0x%x
\n
"
,
foffset
+
fsize
,
reg_names
[
FRAME_POINTER_REGNUM
],
fmask
);
#else
asm_fprintf
(
stream
,
"
\t
fmovem %s@(-%d,%Ra
0
:l),%0I0x%x
\n
"
,
asm_fprintf
(
stream
,
"
\t
fmovem %s@(-%d,%Ra
1
:l),%0I0x%x
\n
"
,
reg_names
[
FRAME_POINTER_REGNUM
],
foffset
+
fsize
,
fmask
);
#endif
...
...
@@ -469,12 +469,12 @@ output_function_epilogue (stream, size)
if
(
big
)
{
#ifdef MOTOROLA
asm_fprintf
(
stream
,
"
\t
fpmovd -%d(%s,%Ra
0
.l), %s
\n
"
,
asm_fprintf
(
stream
,
"
\t
fpmovd -%d(%s,%Ra
1
.l), %s
\n
"
,
fpoffset
+
fsize
,
reg_names
[
FRAME_POINTER_REGNUM
],
reg_names
[
regno
]);
#else
asm_fprintf
(
stream
,
"
\t
fpmoved %s@(-%d,%Ra
0
:l), %s
\n
"
,
asm_fprintf
(
stream
,
"
\t
fpmoved %s@(-%d,%Ra
1
:l), %s
\n
"
,
reg_names
[
FRAME_POINTER_REGNUM
],
fpoffset
+
fsize
,
reg_names
[
regno
]);
#endif
...
...
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