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
07b53149
Commit
07b53149
authored
May 17, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
May 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
From-SVN: r42202
parent
e18748c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+4
-0
gcc/simplify-rtx.c
+3
-2
No files found.
gcc/ChangeLog
View file @
07b53149
Thu
May
17
18
:
17
:
34
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
simplify_rtx
.
c
(
simplify_subreg
)
:
Fix
simplification
of
nested
subregs
.
2001
-
05
-
17
Gerald
Pfeifer
<
pfeifer
@dbai
.
tuwien
.
ac
.
at
>
*
gccbug
.
in
(
CATEGORIES
)
:
Add
"bootstrap"
.
...
...
gcc/simplify-rtx.c
View file @
07b53149
...
...
@@ -2332,11 +2332,12 @@ simplify_subreg (outermode, op, innermode, byte)
}
/* Recurse for futher possible simplifications. */
new
=
simplify_subreg
(
outermode
,
op
,
GET_MODE
(
op
),
new
=
simplify_subreg
(
outermode
,
SUBREG_REG
(
op
),
GET_MODE
(
SUBREG_REG
(
op
)),
final_offset
);
if
(
new
)
return
new
;
return
gen_rtx_SUBREG
(
outermode
,
op
,
final_offset
);
return
gen_rtx_SUBREG
(
outermode
,
SUBREG_REG
(
op
)
,
final_offset
);
}
/* SUBREG of a hard register => just change the register number
...
...
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