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
e24b00c8
Commit
e24b00c8
authored
Dec 21, 1994
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always copy flags to new MEM in simplify_shift_const.
From-SVN: r8678
parent
bcc5d5d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
gcc/combine.c
+6
-8
No files found.
gcc/combine.c
View file @
e24b00c8
...
...
@@ -7630,14 +7630,12 @@ simplify_shift_const (x, code, result_mode, varop, count)
if
(
BYTES_BIG_ENDIAN
)
new
=
gen_rtx
(
MEM
,
tmode
,
XEXP
(
varop
,
0
));
else
{
new
=
gen_rtx
(
MEM
,
tmode
,
plus_constant
(
XEXP
(
varop
,
0
),
count
/
BITS_PER_UNIT
));
RTX_UNCHANGING_P
(
new
)
=
RTX_UNCHANGING_P
(
varop
);
MEM_VOLATILE_P
(
new
)
=
MEM_VOLATILE_P
(
varop
);
MEM_IN_STRUCT_P
(
new
)
=
MEM_IN_STRUCT_P
(
varop
);
}
new
=
gen_rtx
(
MEM
,
tmode
,
plus_constant
(
XEXP
(
varop
,
0
),
count
/
BITS_PER_UNIT
));
RTX_UNCHANGING_P
(
new
)
=
RTX_UNCHANGING_P
(
varop
);
MEM_VOLATILE_P
(
new
)
=
MEM_VOLATILE_P
(
varop
);
MEM_IN_STRUCT_P
(
new
)
=
MEM_IN_STRUCT_P
(
varop
);
varop
=
gen_rtx_combine
(
code
==
ASHIFTRT
?
SIGN_EXTEND
:
ZERO_EXTEND
,
mode
,
new
);
count
=
0
;
...
...
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