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
1f9844c4
Commit
1f9844c4
authored
Sep 24, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(nonlocal_goto): Force operands[0] to be a register.
From-SVN: r2243
parent
8d02144c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/config/sparc/sparc.md
+6
-2
No files found.
gcc/config/sparc/sparc.md
View file @
1f9844c4
...
...
@@ -2632,12 +2632,16 @@
""
"
{
rtx temp;
/
* Trap instruction to flush all the registers window. *
/
emit_insn (gen_rtx (UNSPEC_VOLATILE, VOIDmode,
gen_rtvec (1, const0_rtx), 0));
/
*
Load the fp value for the containing fn into %fp.
This is needed because operands
[
2
]
refers to %fp.
*
/
This is needed because operands
[
2
]
refers to %fp.
Virtual register instantiation fails if the virtual %fp isn't set from a
register. Thus we must copy operands
[
0
]
into a register if it isn't
already one.
*
/
if (GET_CODE (operands
[
0
]
) != REG)
operands
[
0
]
= force_reg (SImode, operands
[
0
]
);
emit_move_insn (virtual_stack_vars_rtx, operands
[
0
]
);
/
*
Find the containing function's current nonlocal goto handler,
which will do any cleanups and then jump to the label.
*
/
...
...
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