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
ace53910
Commit
ace53910
authored
Sep 06, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_reloads_address): Don't reorder the operands of a PLUS when
fixing up index. From-SVN: r8028
parent
378dfce9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/reload.c
+4
-4
No files found.
gcc/reload.c
View file @
ace53910
...
@@ -4255,12 +4255,12 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels)
...
@@ -4255,12 +4255,12 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels)
&&
!
memory_address_p
(
mode
,
ad
))
&&
!
memory_address_p
(
mode
,
ad
))
{
{
*
loc
=
ad
=
gen_rtx
(
PLUS
,
GET_MODE
(
ad
),
*
loc
=
ad
=
gen_rtx
(
PLUS
,
GET_MODE
(
ad
),
XEXP
(
XEXP
(
ad
,
0
),
0
),
plus_constant
(
XEXP
(
XEXP
(
ad
,
0
),
1
),
plus_constant
(
XEXP
(
XEXP
(
ad
,
0
),
1
),
INTVAL
(
XEXP
(
ad
,
1
))),
INTVAL
(
XEXP
(
ad
,
1
))));
XEXP
(
XEXP
(
ad
,
0
),
0
));
find_reloads_address_part
(
XEXP
(
ad
,
1
),
&
XEXP
(
ad
,
1
),
BASE_REG_CLASS
,
find_reloads_address_part
(
XEXP
(
ad
,
0
),
&
XEXP
(
ad
,
0
),
BASE_REG_CLASS
,
GET_MODE
(
ad
),
opnum
,
type
,
ind_levels
);
GET_MODE
(
ad
),
opnum
,
type
,
ind_levels
);
find_reloads_address_1
(
XEXP
(
ad
,
1
),
1
,
&
XEXP
(
ad
,
1
),
opnum
,
type
,
0
);
find_reloads_address_1
(
XEXP
(
ad
,
0
),
1
,
&
XEXP
(
ad
,
0
),
opnum
,
type
,
0
);
return
1
;
return
1
;
}
}
...
...
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