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
b6744f97
Commit
b6744f97
authored
Mar 02, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(call_internal*): Use hard register 19 (r3) in clobber
instead of match_scratch. From-SVN: r3604
parent
e770968b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
gcc/config/i960/i960.md
+9
-4
No files found.
gcc/config/i960/i960.md
View file @
b6744f97
...
...
@@ -2154,14 +2154,19 @@
;; We need a call saved register allocated for the match_scratch, so we use
;; 'l' because all local registers are call saved.
;; ??? I would prefer to use a match_scratch here, but match_scratch allocated
;; registers can't be used for spills. In a function with lots of calls,
;; local-alloc may allocate all local registers to a match_scratch, leaving
;; no local registers available for spills.
(define_insn "call_internal"
[
(call (match_operand:SI 0 "general_operand" "g")
(match_operand:SI 1 "immediate_operand" "i"))
(use (match_operand:SI 2 "address_operand" "p"))
(clobber (
match_scratch:SI 3 "=&l"
))]
(clobber (
reg:SI 19
))]
""
"
*
return i960_output_call_insn (operands
[
0
]
, operands
[
1
]
, operands
[
2
]
,
operands
[
3
]
,
insn);"
insn);"
[
(set_attr "type" "call")
]
)
(define_expand "call_value"
...
...
@@ -2184,10 +2189,10 @@
(call (match_operand:SI 1 "general_operand" "g")
(match_operand:SI 2 "immediate_operand" "i")))
(use (match_operand:SI 3 "address_operand" "p"))
(clobber (
match_scratch:SI 4 "=&l"
))]
(clobber (
reg:SI 19
))]
""
"
*
return i960_output_call_insn (operands
[
1
]
, operands
[
2
]
, operands
[
3
]
,
operands
[
4
]
,
insn);"
insn);"
[
(set_attr "type" "call")
]
)
(define_insn "return"
...
...
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