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
aaaec114
Commit
aaaec114
authored
Sep 24, 1999
by
Nick Clifton
Committed by
Nick Clifton
Sep 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cope with down shifting a 32 bit constant on a 64 bit host.
From-SVN: r29655
parent
0a16ce6f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+6
-0
gcc/combine.c
+2
-2
No files found.
gcc/ChangeLog
View file @
aaaec114
Fri
Sep
24
17
:
10
:
56
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
combine
.
c
(
simplify_comparison
)
:
Cope
with
downshifting
a
32
bit
constant
on
a
64
bit
host
.
Patch
supplied
by
Geoffrey
Keating
<
geoffk
@cygnus
.
com
>
.
Fri
Sep
24
10
:
48
:
10
1999
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
builtins
.
c
(
expand_builtin
)
:
Use
MD_EXPAND_BUILTIN
if
defined
.
...
...
gcc/combine.c
View file @
aaaec114
...
...
@@ -10364,10 +10364,10 @@ simplify_comparison (code, pop0, pop1)
{
/* We must perform a logical shift, not an arithmetic one,
as we want the top N bits of C to be zero. */
unsigned
HOST_WIDE_INT
temp
=
const_op
;
unsigned
HOST_WIDE_INT
temp
=
const_op
&
GET_MODE_MASK
(
mode
)
;
temp
>>=
INTVAL
(
XEXP
(
op0
,
1
));
op1
=
GEN_INT
(
t
emp
);
op1
=
GEN_INT
(
t
runc_int_for_mode
(
temp
,
mode
)
);
op0
=
XEXP
(
op0
,
0
);
continue
;
}
...
...
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