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
56a2f049
Commit
56a2f049
authored
Apr 19, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r787
parent
0dcd8cee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
gcc/expmed.c
+7
-2
No files found.
gcc/expmed.c
View file @
56a2f049
...
...
@@ -200,13 +200,18 @@ store_bit_field (str_rtx, bitsize, bitnum, fieldmode, value, align, total_size)
/* Note that the adjustment of BITPOS above has no effect on whether
BITPOS is 0 in a REG bigger than a word. */
if
(
GET_MODE_SIZE
(
fieldmode
)
>=
UNITS_PER_WORD
&&
GET_CODE
(
op0
)
!=
MEM
if
(
GET_MODE_SIZE
(
fieldmode
)
>=
UNITS_PER_WORD
&&
(
!
STRICT_ALIGNMENT
||
GET_CODE
(
op0
)
!=
MEM
)
&&
bitpos
==
0
&&
bitsize
==
GET_MODE_BITSIZE
(
fieldmode
))
{
/* Storing in a full-word or multi-word field in a register
can be done with just SUBREG. */
if
(
GET_MODE
(
op0
)
!=
fieldmode
)
op0
=
gen_rtx
(
SUBREG
,
fieldmode
,
op0
,
offset
);
if
(
GET_CODE
(
op0
)
==
REG
)
op0
=
gen_rtx
(
SUBREG
,
fieldmode
,
op0
,
offset
);
else
op0
=
change_address
(
op0
,
fieldmode
,
plus_constant
(
XEXP
(
op0
,
0
),
offset
));
emit_move_insn
(
op0
,
value
);
return
value
;
}
...
...
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