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
47073a38
Commit
47073a38
authored
Jan 10, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
Jan 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (expand_field_assignment): Use subreg_lsb().
From-SVN: r48742
parent
d288e53d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/ChangeLog
+4
-0
gcc/combine.c
+1
-3
No files found.
gcc/ChangeLog
View file @
47073a38
2002-01-10 Kazu Hirata <kazu@hxi.com>
* combine.c (expand_field_assignment): Use subreg_lsb().
2002-01-10 David Edelsohn <edelsohn@gnu.org>
* alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
...
...
gcc/combine.c
View file @
47073a38
...
...
@@ -5685,11 +5685,9 @@ expand_field_assignment (x)
if
(
GET_CODE
(
SET_DEST
(
x
))
==
STRICT_LOW_PART
&&
GET_CODE
(
XEXP
(
SET_DEST
(
x
),
0
))
==
SUBREG
)
{
int
byte_offset
=
SUBREG_BYTE
(
XEXP
(
SET_DEST
(
x
),
0
));
inner
=
SUBREG_REG
(
XEXP
(
SET_DEST
(
x
),
0
));
len
=
GET_MODE_BITSIZE
(
GET_MODE
(
XEXP
(
SET_DEST
(
x
),
0
)));
pos
=
GEN_INT
(
BITS_PER_WORD
*
(
byte_offset
/
UNITS_PER_WORD
));
pos
=
GEN_INT
(
subreg_lsb
(
XEXP
(
SET_DEST
(
x
),
0
)
));
}
else
if
(
GET_CODE
(
SET_DEST
(
x
))
==
ZERO_EXTRACT
&&
GET_CODE
(
XEXP
(
SET_DEST
(
x
),
1
))
==
CONST_INT
)
...
...
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