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
a64ddde5
Commit
a64ddde5
authored
Sep 08, 1993
by
John Hassey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_call): Avoid use of jsr.n r1, this loses on
the 88110. From-SVN: r5285
parent
cfb557c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/config/m88k/m88k.c
+9
-3
No files found.
gcc/config/m88k/m88k.c
View file @
a64ddde5
...
@@ -868,14 +868,20 @@ output_call (operands, addr)
...
@@ -868,14 +868,20 @@ output_call (operands, addr)
If we loose, we must use the non-delay form. This is unlikely
If we loose, we must use the non-delay form. This is unlikely
to ever happen. If it becomes a problem, claim that a call
to ever happen. If it becomes a problem, claim that a call
has two delay slots and only the second can be filled with
has two delay slots and only the second can be filled with
a jump. */
a jump.
The 88110 can lose when a jsr.n r1 is issued and a page fault
occurs accessing the delay slot. So don't use jsr.n form when
jumping thru r1.
*/
#ifdef AS_BUG_IMMEDIATE_LABEL
/* The assembler restricts immediate values. */
#ifdef AS_BUG_IMMEDIATE_LABEL
/* The assembler restricts immediate values. */
if
(
optimize
<
2
if
(
optimize
<
2
||
!
ADD_INTVAL
(
delta
*
2
)
)
||
!
ADD_INTVAL
(
delta
*
2
)
#else
#else
if
(
optimize
<
2
if
(
optimize
<
2
||
!
ADD_INTVAL
(
delta
)
)
||
!
ADD_INTVAL
(
delta
)
#endif
#endif
||
(
REG_P
(
addr
)
&&
REGNO
(
addr
)
==
1
))
{
{
operands
[
1
]
=
dest
;
operands
[
1
]
=
dest
;
return
(
REG_P
(
addr
)
return
(
REG_P
(
addr
)
...
...
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