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
f8fe20b2
Commit
f8fe20b2
authored
28 years ago
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(extract_bit_field): Check TRULY_NOOP_TRUNCATION before
making a SUBREG of a REG. From-SVN: r12338
parent
7e99e494
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
gcc/expmed.c
+3
-1
No files found.
gcc/expmed.c
View file @
f8fe20b2
...
...
@@ -928,7 +928,9 @@ extract_bit_field (str_rtx, bitsize, bitnum, unsignedp,
So too extracting a subword value in
the least significant part of the register. */
if
((
GET_CODE
(
op0
)
==
REG
if
(((
GET_CODE
(
op0
)
==
REG
&&
TRULY_NOOP_TRUNCATION
(
GET_MODE_BITSIZE
(
mode
),
GET_MODE_BITSIZE
(
GET_MODE
(
op0
))))
||
(
GET_CODE
(
op0
)
==
MEM
&&
(
!
SLOW_UNALIGNED_ACCESS
||
(
offset
*
BITS_PER_UNIT
%
bitsize
==
0
...
...
This diff is collapsed.
Click to expand it.
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