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
83b93f40
Commit
83b93f40
authored
Dec 02, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subst_constant): Don't treat all virtual regs as constants, just
those that are off FP and AP, but not SP. From-SVN: r8600
parent
cb06d06a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/integrate.c
+4
-4
No files found.
gcc/integrate.c
View file @
83b93f40
...
...
@@ -2616,12 +2616,12 @@ subst_constants (loc, insn, map)
if
((
map
->
num_sets
<
MAX_RECOG_OPERANDS
)
&&
(
CONSTANT_P
(
src
)
||
(
GET_CODE
(
src
)
==
REG
&&
REGNO
(
src
)
>=
FIRST_VIRTUAL_REGISTER
&&
REGNO
(
src
)
<=
LAST_VIRTUAL_REGISTER
)
&&
(
REGNO
(
src
)
==
VIRTUAL_INCOMING_ARGS_REGNUM
||
REGNO
(
src
)
==
VIRTUAL_STACK_VARS_REGNUM
)
)
||
(
GET_CODE
(
src
)
==
PLUS
&&
GET_CODE
(
XEXP
(
src
,
0
))
==
REG
&&
REGNO
(
XEXP
(
src
,
0
))
>=
FIRST_VIRTUAL_REGISTER
&&
REGNO
(
XEXP
(
src
,
0
))
<=
LAST_VIRTUAL_REGISTER
&&
(
REGNO
(
XEXP
(
src
,
0
))
==
VIRTUAL_INCOMING_ARGS_REGNUM
||
REGNO
(
XEXP
(
src
,
0
))
==
VIRTUAL_STACK_VARS_REGNUM
)
&&
CONSTANT_P
(
XEXP
(
src
,
1
)))
||
GET_CODE
(
src
)
==
COMPARE
#ifdef HAVE_cc0
...
...
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