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
26ba4aee
Commit
26ba4aee
authored
Mar 10, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_reloads, case 'o'): Accept a fully reloaded auto-increment address.
From-SVN: r9168
parent
01188446
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/reload.c
+8
-0
No files found.
gcc/reload.c
View file @
26ba4aee
...
@@ -2802,6 +2802,14 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
...
@@ -2802,6 +2802,14 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
reject that case. */
reject that case. */
&&
(
ind_levels
?
offsettable_memref_p
(
operand
)
&&
(
ind_levels
?
offsettable_memref_p
(
operand
)
:
offsettable_nonstrict_memref_p
(
operand
)))
:
offsettable_nonstrict_memref_p
(
operand
)))
/* A reloaded auto-increment address is offsettable,
because it is now just a simple register indirect. */
||
(
GET_CODE
(
operand
)
==
MEM
&&
address_reloaded
[
i
]
&&
(
GET_CODE
(
XEXP
(
operand
,
0
))
==
PRE_INC
||
GET_CODE
(
XEXP
(
operand
,
0
))
==
PRE_DEC
||
GET_CODE
(
XEXP
(
operand
,
0
))
==
POST_INC
||
GET_CODE
(
XEXP
(
operand
,
0
))
==
POST_DEC
))
/* Certain mem addresses will become offsettable
/* Certain mem addresses will become offsettable
after they themselves are reloaded. This is important;
after they themselves are reloaded. This is important;
we don't want our own handling of unoffsettables
we don't want our own handling of unoffsettables
...
...
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