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
adb7a1cb
Commit
adb7a1cb
authored
Apr 28, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(force_to_mode, simplify_comparison): Cast to unsiged HOST_WIDE_INT
instead of unsigned int. From-SVN: r4258
parent
e36a3b5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/combine.c
+2
-2
No files found.
gcc/combine.c
View file @
adb7a1cb
...
...
@@ -5400,7 +5400,7 @@ force_to_mode (x, mode, bits, reg)
&&
INTVAL
(
XEXP
(
x
,
1
))
<
GET_MODE_BITSIZE
(
mode
))
&&
!
(
GET_MODE
(
XEXP
(
x
,
1
))
!=
VOIDmode
&&
(
nonzero_bits
(
XEXP
(
x
,
1
),
GET_MODE
(
XEXP
(
x
,
1
)))
<
(
unsigned
)
GET_MODE_BITSIZE
(
mode
))))
<
(
unsigned
HOST_WIDE_INT
)
GET_MODE_BITSIZE
(
mode
))))
break
;
if
(
GET_CODE
(
XEXP
(
x
,
1
))
==
CONST_INT
&&
INTVAL
(
XEXP
(
x
,
1
))
<
bits
)
...
...
@@ -8353,7 +8353,7 @@ simplify_comparison (code, pop0, pop1)
&&
INTVAL
(
XEXP
(
SUBREG_REG
(
op0
),
1
))
<
0
&&
(
-
INTVAL
(
XEXP
(
SUBREG_REG
(
op0
),
1
))
<
GET_MODE_MASK
(
mode
)
/
2
)
&&
(
unsigned
)
const_op
<
GET_MODE_MASK
(
mode
)
/
2
&&
(
unsigned
HOST_WIDE_INT
)
const_op
<
GET_MODE_MASK
(
mode
)
/
2
&&
(
0
==
(
nonzero_bits
(
XEXP
(
SUBREG_REG
(
op0
),
0
),
GET_MODE
(
SUBREG_REG
(
op0
)))
&
~
GET_MODE_MASK
(
mode
))
...
...
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