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
26ecfc76
Commit
26ecfc76
authored
Oct 09, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subst, case SUBREG): Don't make a new REG for stack, frame, or arg
pointer. From-SVN: r2381
parent
d9983d6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
gcc/combine.c
+8
-2
No files found.
gcc/combine.c
View file @
26ecfc76
...
@@ -2900,10 +2900,16 @@ subst (x, from, to, in_dest, unique_copy)
...
@@ -2900,10 +2900,16 @@ subst (x, from, to, in_dest, unique_copy)
/* SUBREG of a hard register => just change the register number
/* SUBREG of a hard register => just change the register number
and/or mode. If the hard register is not valid in that mode,
and/or mode. If the hard register is not valid in that mode,
suppress this combination. */
suppress this combination. If the hard register is the stack,
frame, or argument pointer, leave this as a SUBREG. */
if
(
GET_CODE
(
SUBREG_REG
(
x
))
==
REG
if
(
GET_CODE
(
SUBREG_REG
(
x
))
==
REG
&&
REGNO
(
SUBREG_REG
(
x
))
<
FIRST_PSEUDO_REGISTER
)
&&
REGNO
(
SUBREG_REG
(
x
))
<
FIRST_PSEUDO_REGISTER
&&
REGNO
(
SUBREG_REG
(
x
))
!=
FRAME_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
&&
REGNO
(
SUBREG_REG
(
x
))
!=
ARG_POINTER_REGNUM
#endif
&&
REGNO
(
SUBREG_REG
(
x
))
!=
STACK_POINTER_REGNUM
)
{
{
if
(
HARD_REGNO_MODE_OK
(
REGNO
(
SUBREG_REG
(
x
))
+
SUBREG_WORD
(
x
),
if
(
HARD_REGNO_MODE_OK
(
REGNO
(
SUBREG_REG
(
x
))
+
SUBREG_WORD
(
x
),
mode
))
mode
))
...
...
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