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
ff12fdac
Commit
ff12fdac
authored
Oct 10, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subst, case SUREG):Only call force_to_mode if both inner and output
modes are MODE_INT. From-SVN: r5709
parent
888184ea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/combine.c
+5
-3
No files found.
gcc/combine.c
View file @
ff12fdac
...
@@ -3177,11 +3177,13 @@ subst (x, from, to, in_dest, unique_copy)
...
@@ -3177,11 +3177,13 @@ subst (x, from, to, in_dest, unique_copy)
)
)
return
gen_lowpart_for_combine
(
mode
,
SUBREG_REG
(
x
));
return
gen_lowpart_for_combine
(
mode
,
SUBREG_REG
(
x
));
/* If we are narrowing
the object, we need to see if we can simplify
/* If we are narrowing
an integral object, we need to see if we can
the expression for the object knowing that we only need the
simplify
the expression for the object knowing that we only need the
low-order bits. */
low-order bits. */
if
(
GET_MODE_SIZE
(
mode
)
<
GET_MODE_SIZE
(
GET_MODE
(
SUBREG_REG
(
x
)))
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_INT
&&
GET_MODE_CLASS
(
GET_MODE
(
SUBREG_REG
(
x
)))
==
MODE_INT
&&
GET_MODE_SIZE
(
mode
)
<
GET_MODE_SIZE
(
GET_MODE
(
SUBREG_REG
(
x
)))
&&
subreg_lowpart_p
(
x
))
&&
subreg_lowpart_p
(
x
))
return
force_to_mode
(
SUBREG_REG
(
x
),
mode
,
GET_MODE_MASK
(
mode
),
return
force_to_mode
(
SUBREG_REG
(
x
),
mode
,
GET_MODE_MASK
(
mode
),
NULL_RTX
);
NULL_RTX
);
...
...
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