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
fe0cf571
Commit
fe0cf571
authored
Aug 19, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly apply last change.
From-SVN: r1895
parent
a687e897
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/combine.c
+3
-3
No files found.
gcc/combine.c
View file @
fe0cf571
...
@@ -7544,9 +7544,6 @@ simplify_comparison (code, pop0, pop1)
...
@@ -7544,9 +7544,6 @@ simplify_comparison (code, pop0, pop1)
break
;
break
;
case
SUBREG
:
case
SUBREG
:
/* If the inner mode is narrower and we are extracting the low part,
we can treat the SUBREG as if it were a ZERO_EXTEND. */
if
(
subreg_lowpart_p
(
op0
)
/* Check for the case where we are comparing A - C1 with C2,
/* Check for the case where we are comparing A - C1 with C2,
both constants are smaller than 1/2 the maxium positive
both constants are smaller than 1/2 the maxium positive
value in MODE, and the comparison is equality or unsigned.
value in MODE, and the comparison is equality or unsigned.
...
@@ -7576,6 +7573,9 @@ simplify_comparison (code, pop0, pop1)
...
@@ -7576,6 +7573,9 @@ simplify_comparison (code, pop0, pop1)
continue
;
continue
;
}
}
/* If the inner mode is narrower and we are extracting the low part,
we can treat the SUBREG as if it were a ZERO_EXTEND. */
if
(
subreg_lowpart_p
(
op0
)
&&
GET_MODE_BITSIZE
(
GET_MODE
(
SUBREG_REG
(
op0
)))
<
mode_width
)
&&
GET_MODE_BITSIZE
(
GET_MODE
(
SUBREG_REG
(
op0
)))
<
mode_width
)
/* Fall through */
;
/* Fall through */
;
else
else
...
...
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