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
911f679c
Commit
911f679c
authored
Feb 03, 1995
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not reload reg2 under V.4 or eabi.
From-SVN: r8858
parent
29bd4eb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
7 deletions
+27
-7
gcc/config/rs6000/rs6000.md
+27
-7
No files found.
gcc/config/rs6000/rs6000.md
View file @
911f679c
...
...
@@ -4631,16 +4631,26 @@
"bl %z0")
;; Call to function which may be in another module. Restore the TOC
;; pointer (r2) after the call.
;; pointer (r2) after the call
unless this is System V
.
(define_insn ""
[
(call (mem:SI (match_operand:SI 0 "call_operand" "l,s"))
(match_operand 1 "" "fg,fg"))
(clobber (match_scratch:SI 2 "=l,l"))]
""
"@
{brl|blrl}
\;
{l|lwz} 2,20(1)
bl %z0
\;
%."
"
*
{
if (GET_CODE (operands
[
0
]
) == REG)
{
#ifndef USING_SVR4_H
return
\"
{brl|blrl}
\;
{l|lwz} 2,20(1)
\"
;
#else
return
\"
{brl|blrl}
\"
;
#endif
}
return
\"
bl %z0
\;
%.
\"
;
}"
[
(set_attr "length" "8")
]
)
(define_insn ""
...
...
@@ -4657,9 +4667,19 @@
(match_operand 2 "" "fg,fg")))
(clobber (match_scratch:SI 3 "=l,l"))]
""
"@
{brl|blrl}
\;
{l|lwz} 2,20(1)
bl %z1
\;
%."
"
*
{
if (GET_CODE (operands
[
1
]
) == REG)
{
#ifndef USING_SVR4_H
return
\"
{brl|blrl}
\;
{l|lwz} 2,20(1)
\"
;
#else
return
\"
{brl|blrl}
\"
;
#endif
}
return
\"
bl %z1
\;
%.
\"
;
}"
[
(set_attr "length" "8")
]
)
;; Call subroutine returning any type.
...
...
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